Package zombie.scripting.objects
Class ModelScript
java.lang.Object
zombie.scripting.objects.BaseScriptObject
zombie.scripting.objects.ModelScript
public final class ModelScript extends BaseScriptObject
-
Field Summary
Fields Modifier and Type Field Description java.util.ArrayList
boneWeights
boolean
bStatic
static java.lang.String
DEFAULT_SHADER_NAME
java.lang.String
fileName
boolean
invertX
Model
loadedModel
java.util.ArrayList
m_attachments
java.lang.String
meshName
java.lang.String
name
float
scale
java.lang.String
shaderName
java.lang.String
textureName
Fields inherited from class zombie.scripting.objects.BaseScriptObject
module
-
Constructor Summary
Constructors Constructor Description ModelScript()
-
Method Summary
Modifier and Type Method Description ModelAttachment
addAttachment(ModelAttachment modelAttachment)
ModelAttachment
addAttachmentAt(int int1, ModelAttachment modelAttachment)
ModelAttachment
getAttachment(int int1)
ModelAttachment
getAttachmentById(java.lang.String string)
int
getAttachmentCount()
java.lang.String
getFileName()
java.lang.String
getFullType()
java.lang.String
getMeshName()
java.lang.String
getName()
java.lang.String
getShaderName()
java.lang.String
getTextureName()
java.lang.String
getTextureName(boolean boolean1)
void
Load(java.lang.String string, java.lang.String string2)
ModelAttachment
removeAttachment(int int1)
ModelAttachment
removeAttachment(ModelAttachment modelAttachment)
void
reset()
static void
ScriptsLoaded()
Methods inherited from class zombie.scripting.objects.BaseScriptObject
getModule, Load
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
DEFAULT_SHADER_NAME
public static final java.lang.String DEFAULT_SHADER_NAME- See Also:
- Constant Field Values
-
fileName
public java.lang.String fileName -
name
public java.lang.String name -
meshName
public java.lang.String meshName -
textureName
public java.lang.String textureName -
shaderName
public java.lang.String shaderName -
bStatic
public boolean bStatic -
scale
public float scale -
m_attachments
public final java.util.ArrayList m_attachments -
invertX
public boolean invertX -
loadedModel
-
boneWeights
public final java.util.ArrayList boneWeights
-
-
Constructor Details
-
ModelScript
public ModelScript()
-
-
Method Details
-
Load
public void Load(java.lang.String string, java.lang.String string2) -
getName
public java.lang.String getName() -
getFullType
public java.lang.String getFullType() -
getMeshName
public java.lang.String getMeshName() -
getTextureName
public java.lang.String getTextureName() -
getTextureName
public java.lang.String getTextureName(boolean boolean1) -
getShaderName
public java.lang.String getShaderName() -
getFileName
public java.lang.String getFileName() -
getAttachmentCount
public int getAttachmentCount() -
getAttachment
-
getAttachmentById
-
addAttachment
-
removeAttachment
-
addAttachmentAt
-
removeAttachment
-
reset
public void reset() -
ScriptsLoaded
public static void ScriptsLoaded()
-