Class ModelScript

java.lang.Object
zombie.scripting.objects.BaseScriptObject
zombie.scripting.objects.ModelScript

public final class ModelScript extends BaseScriptObject
  • Field Details

    • DEFAULT_SHADER_NAME

      public static final String DEFAULT_SHADER_NAME
      See Also:
    • fileName

      public String fileName
    • name

      public String name
    • meshName

      public String meshName
    • textureName

      public String textureName
    • shaderName

      public String shaderName
    • bStatic

      public boolean bStatic
    • scale

      public float scale
    • m_attachments

      public final ArrayList<ModelAttachment> m_attachments
    • invertX

      public boolean invertX
    • loadedModel

      public Model loadedModel
    • boneWeights

      public final ArrayList<AnimBoneWeight> boneWeights
    • animationsMesh

      public String animationsMesh
  • Constructor Details

    • ModelScript

      public ModelScript()
  • Method Details

    • Load

      public void Load(String name, String totalFile)
    • getName

      public String getName()
    • getFullType

      public String getFullType()
    • getMeshName

      public String getMeshName()
    • getTextureName

      public String getTextureName()
    • getTextureName

      public String getTextureName(boolean allowNull)
    • getShaderName

      public String getShaderName()
    • getFileName

      public String getFileName()
    • getAttachmentCount

      public int getAttachmentCount()
    • getAttachment

      public ModelAttachment getAttachment(int index)
    • getAttachmentById

      public ModelAttachment getAttachmentById(String id)
    • addAttachment

      public ModelAttachment addAttachment(ModelAttachment attach)
    • removeAttachment

      public ModelAttachment removeAttachment(ModelAttachment attach)
    • addAttachmentAt

      public ModelAttachment addAttachmentAt(int index, ModelAttachment attach)
    • removeAttachment

      public ModelAttachment removeAttachment(int index)
    • reset

      public void reset()
    • ScriptsLoaded

      public static void ScriptsLoaded()