public class Cylinder3d 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 |
---|
Cylinder3d(double radius,
double height) |
Cylinder3d(Object position,
Object rotation,
Object size,
int absFlags,
Object c,
String materialPath,
String texturePath,
double radius,
double height,
IParsedExpression drawcondition,
String shadowtype,
ArrayList<SpatialControl> controler)
Generates a new Cylinder3d
|
Modifier and Type | Method and Description |
---|---|
double |
getHeight() |
double |
getRadius() |
void |
setHeight(float height) |
void |
setRadius(float radius) |
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 Cylinder3d(double radius, double height)
radius
- height
- public Cylinder3d(Object position, Object rotation, Object size, int absFlags, Object c, String materialPath, String texturePath, double radius, double height, IParsedExpression drawcondition, String shadowtype, ArrayList<SpatialControl> controler)
position
- rotation
- size
- absFlags
- c
- texturePath
- radius
- height
- drawcondition
- Copyright © 2013. All Rights Reserved.