public class Effect extends Primitive3d
ABSOLUTE_POSITION, ABSOLUTE_ROTATION, ABSOLUTE_SIZE, 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, SHADOW_CAST, SHADOW_OFF, SHADOW_RECEIVE
Constructor and Description |
---|
Effect(Object position,
String predefinedId,
double startsize,
double endsize,
IParsedExpression exp)
Constructor for Predefined use
|
Effect(String predefinedId) |
Modifier and Type | Method and Description |
---|---|
float |
getEndsize() |
String |
getPredefinedId() |
float |
getStartsize() |
boolean |
isPredefined() |
void |
setEndsize(float endsize) |
void |
setPredefined(boolean predefined) |
void |
setPredefinedId(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
public Effect(String predefinedId)
public Effect(Object position, String predefinedId, double startsize, double endsize, IParsedExpression exp)
position
- predefinedId
- exp
- public String getPredefinedId()
public void setPredefinedId(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 setCopyright © 2013. All Rights Reserved.