public class Object3d extends Primitive3d
Modifier and Type | Field and Description |
---|---|
protected java.util.ArrayList<Animation> |
_animations |
protected java.util.TreeSet<java.lang.String> |
_channels |
protected boolean |
_hasLightMaterials
Light Materials - to deal with possible render Errors
|
protected java.lang.String |
_modelPath
Model path.
|
protected boolean |
_rigDebug |
protected java.util.ArrayList<Materialfile> |
materials |
ABSOLUTE_POSITION, ABSOLUTE_ROTATION, ABSOLUTE_SIZE, color_, drawcondition, enableDCPos, enableDCRot, enableDCSize, materialPath_, PRIMITIVE_TYPE_ARROW, PRIMITIVE_TYPE_BOX, PRIMITIVE_TYPE_CYLINDER, PRIMITIVE_TYPE_DIRECTIONALLIGHT, PRIMITIVE_TYPE_DOME, PRIMITIVE_TYPE_EFFECT, PRIMITIVE_TYPE_OBJECT3D, PRIMITIVE_TYPE_POINTLIGHT, PRIMITIVE_TYPE_QUAD, PRIMITIVE_TYPE_SKY, PRIMITIVE_TYPE_SOUND, PRIMITIVE_TYPE_SPHERE, PRIMITIVE_TYPE_TERRAIN, PRIMITIVE_TYPE_TEXT3D, PRIMITIVE_TYPE_TORUS, renderinfos, SHADOW_CAST, SHADOW_OFF, SHADOW_RECEIVE, shadowtype, texturePath_, type
Constructor and Description |
---|
Object3d(java.lang.Object position,
java.lang.Object rotation,
java.lang.Object size,
int absFlags,
java.lang.Object c,
java.lang.String modelPath,
java.lang.String materialpath,
java.lang.String texturePath,
boolean hasLightMaterials,
boolean rigDebug,
IParsedExpression drawcondition,
java.lang.String shadowtype,
java.util.List<Animation> animations,
java.util.List<Materialfile> materials,
java.util.ArrayList<SpatialControl> controler)
Creates a new Polygon drawable.
|
Object3d(java.lang.String modelPath,
boolean hasLightMaterials)
Creates default Polygon.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<Animation> |
getAnimations() |
java.util.TreeSet<java.lang.String> |
getChannels() |
java.util.ArrayList<Materialfile> |
getMaterials() |
java.lang.String |
getModelPath() |
boolean |
isHasLightMaterials() |
boolean |
isRigDebug() |
void |
setAnimations(java.util.ArrayList<Animation> _animations) |
void |
setChannels(java.util.TreeSet<java.lang.String> channels) |
void |
setHasLightMaterials(boolean hasLightMaterials) |
void |
setMaterials(java.util.ArrayList<Materialfile> materials) |
void |
setModelPath(java.lang.String modelPath) |
void |
setRigDebug(boolean rigDebug) |
void |
setType(int type)
Set the primitive type (Disabled).
|
enableAbsolutePosition, enableAbsoluteRotation, enableAbsoluteSize, getColor, getControler, getDrawCondition, getMaterialPath, getShadowtype, getTexturePath, getType, isRelativePosition, isRelativeRotation, isRelativeSize, setColor, setControler, setDrawCondition, setMaterialPath, setShadowtype, setTexturePath
bindPosition, bindRotation, bindSize, getPosition, getRotation, getSize, setPosition, setRotation, setSize
protected java.lang.String _modelPath
protected boolean _hasLightMaterials
protected java.util.ArrayList<Animation> _animations
protected java.util.ArrayList<Materialfile> materials
protected java.util.TreeSet<java.lang.String> _channels
protected boolean _rigDebug
public Object3d(java.lang.String modelPath, boolean hasLightMaterials)
modelPath
- resource path of the modelpublic Object3d(java.lang.Object position, java.lang.Object rotation, java.lang.Object size, int absFlags, java.lang.Object c, java.lang.String modelPath, java.lang.String materialpath, java.lang.String texturePath, boolean hasLightMaterials, boolean rigDebug, IParsedExpression drawcondition, java.lang.String shadowtype, java.util.List<Animation> animations, java.util.List<Materialfile> materials, java.util.ArrayList<SpatialControl> controler)
position
- rotation
- size
- absFlags
- c
- modelPath
- texturePath
- drawcondition
- public void setType(int type)
setType
in class Primitive3d
type
- The type to set.public java.lang.String getModelPath()
public void setModelPath(java.lang.String modelPath)
_modelPath
- the _modelPath to setpublic boolean isHasLightMaterials()
public void setHasLightMaterials(boolean hasLightMaterials)
_hasLightMaterials
- the _hasLightMaterials to setpublic java.util.ArrayList<Animation> getAnimations()
public void setAnimations(java.util.ArrayList<Animation> _animations)
_animations
- the _animations to setpublic java.util.TreeSet<java.lang.String> getChannels()
public void setChannels(java.util.TreeSet<java.lang.String> channels)
_channels
- the _channels to setpublic boolean isRigDebug()
public void setRigDebug(boolean rigDebug)
_rigDebug
- the _rigDebug to setpublic java.util.ArrayList<Materialfile> getMaterials()
public void setMaterials(java.util.ArrayList<Materialfile> materials)