Class Text3d
- java.lang.Object
-
- jadex.extension.envsupport.observer.graphics.drawable3d.AbstractVisual3d
-
- jadex.extension.envsupport.observer.graphics.drawable3d.Primitive3d
-
- jadex.extension.envsupport.observer.graphics.drawable3d.Text3d
-
public class Text3d extends Primitive3d
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
_text
Model path.-
Fields inherited from class jadex.extension.envsupport.observer.graphics.drawable3d.Primitive3d
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 Summary
Constructors Constructor Description Text3d(java.lang.Object position, java.lang.Object rotation, java.lang.Object size, int absFlags, java.lang.Object c, java.lang.String materialpath, java.lang.String texturePath, java.lang.String text, IParsedExpression drawcondition, java.lang.String shadowtype, java.util.ArrayList<SpatialControl> controler)
Creates a new Polygon drawable.Text3d(java.lang.String text)
Creates default Text3d.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getReplacedText(DrawableCombiner3d dc, java.lang.Object obj, java.lang.String text, IViewport3d vp)
java.lang.String
getText()
Returns the model path.void
setType(int type)
Set the primitive type (Disabled).-
Methods inherited from class jadex.extension.envsupport.observer.graphics.drawable3d.Primitive3d
enableAbsolutePosition, enableAbsoluteRotation, enableAbsoluteSize, getColor, getControler, getDrawCondition, getMaterialPath, getShadowtype, getTexturePath, getType, isRelativePosition, isRelativeRotation, isRelativeSize, setColor, setControler, setDrawCondition, setMaterialPath, setShadowtype, setTexturePath
-
Methods inherited from class jadex.extension.envsupport.observer.graphics.drawable3d.AbstractVisual3d
bindPosition, bindRotation, bindSize, getPosition, getRotation, getSize, setPosition, setRotation, setSize
-
-
-
-
Constructor Detail
-
Text3d
public Text3d(java.lang.String text)
Creates default Text3d.- Parameters:
modelPath
- resource path of the model
-
Text3d
public Text3d(java.lang.Object position, java.lang.Object rotation, java.lang.Object size, int absFlags, java.lang.Object c, java.lang.String materialpath, java.lang.String texturePath, java.lang.String text, IParsedExpression drawcondition, java.lang.String shadowtype, java.util.ArrayList<SpatialControl> controler)
Creates a new Polygon drawable.- Parameters:
position
- position or position-bindingxrotation
- xrotation or rotation-bindingyrotation
- yrotation or rotation-bindingzrotation
- zrotation or rotation-bindingsize
- size or size-bindingabsFlags
- flags for setting position, size and rotation as absolutesc
- modulation color or bindingmodelPath
- resource path of the texture
-
-
Method Detail
-
setType
public void setType(int type)
Set the primitive type (Disabled).- Overrides:
setType
in classPrimitive3d
- Parameters:
type
- The type to set.
-
getText
public java.lang.String getText()
Returns the model path.- Returns:
- The model path.
-
getReplacedText
public static final java.lang.String getReplacedText(DrawableCombiner3d dc, java.lang.Object obj, java.lang.String text, IViewport3d vp)
-
-