public class MrModelData extends MrObjectData
mName, mSceneObjType, mShaderProgram, mTransform, mUniformGenerators, mUniformKeys
Constructor and Description |
---|
MrModelData(java.lang.String name,
MrTransform transform,
java.util.Map<java.lang.String,MrUniformKey> uniformKeys,
MrShaderProgram shaderProgram,
MrMesh mesh,
MrMaterial[] materials,
MrSkeleton skeleton) |
Modifier and Type | Method and Description |
---|---|
MrMaterial[] |
getMaterials() |
MrMesh |
getMesh() |
java.util.Map<java.lang.String,MrSkeletalAction> |
getSkeletalActions() |
MrSkeleton |
getSkeleton() |
MrTexture[] |
getTextures() |
boolean |
hasSkeleton() |
boolean |
hasTextures() |
void |
initializeUniforms() |
boolean |
isVisible() |
void |
setVisibility(boolean isVisible) |
getName, getSceneObjectType, getShaderProgram, getTransform, getUniformGenerators, getUniformKeys, setTransform, setUniformGenerators, setUniformKeys
public MrModelData(java.lang.String name, MrTransform transform, java.util.Map<java.lang.String,MrUniformKey> uniformKeys, MrShaderProgram shaderProgram, MrMesh mesh, MrMaterial[] materials, MrSkeleton skeleton)
public void initializeUniforms()
initializeUniforms
in class MrObjectData
public MrMesh getMesh()
public MrMaterial[] getMaterials()
public boolean hasSkeleton()
public MrSkeleton getSkeleton()
public boolean hasTextures()
public MrTexture[] getTextures()
public java.util.Map<java.lang.String,MrSkeletalAction> getSkeletalActions()
public boolean isVisible()
public void setVisibility(boolean isVisible)