public class Effect extends Primitive3d
Modifier and Type | Field and Description |
---|---|
protected float |
endsize |
protected boolean |
predefined |
protected java.lang.String |
predefinedId |
protected float |
startsize |
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 |
---|
Effect(java.lang.Object position,
java.lang.String predefinedId,
double startsize,
double endsize,
IParsedExpression exp)
Constructor for Predefined use
|
Effect(java.lang.String predefinedId) |
Modifier and Type | Method and Description |
---|---|
float |
getEndsize() |
java.lang.String |
getPredefinedId() |
float |
getStartsize() |
boolean |
isPredefined() |
void |
setEndsize(float endsize) |
void |
setPredefined(boolean predefined) |
void |
setPredefinedId(java.lang.String predefinedId) |
void |
setStartsize(float startsize) |
enableAbsolutePosition, enableAbsoluteRotation, enableAbsoluteSize, getColor, getControler, getDrawCondition, getMaterialPath, getShadowtype, getTexturePath, getType, isRelativePosition, isRelativeRotation, isRelativeSize, setColor, setControler, setDrawCondition, setMaterialPath, setShadowtype, setTexturePath, setType
bindPosition, bindRotation, bindSize, getPosition, getRotation, getSize, setPosition, setRotation, setSize
protected java.lang.String predefinedId
protected boolean predefined
protected float startsize
protected float endsize
public Effect(java.lang.String predefinedId)
public Effect(java.lang.Object position, java.lang.String predefinedId, double startsize, double endsize, IParsedExpression exp)
position
- predefinedId
- exp
- public java.lang.String getPredefinedId()
public void setPredefinedId(java.lang.String predefinedId)
predefinedId
- the predefinedId to setpublic float getStartsize()
public void setStartsize(float startsize)
startsize
- the startsize to setpublic float getEndsize()
public void setEndsize(float endsize)
endsize
- the endsize to setpublic boolean isPredefined()
public void setPredefined(boolean predefined)
predefined
- the predefined to set