public class Cylinder3d extends Primitive3d
ABSOLUTE_POSITION, ABSOLUTE_ROTATION, ABSOLUTE_SIZE, PRIMITIVE_TYPE_ARROW, PRIMITIVE_TYPE_BOX, PRIMITIVE_TYPE_CYLINDER, PRIMITIVE_TYPE_DOME, PRIMITIVE_TYPE_OBJECT3D, 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 texturePath,
double radius,
double height,
IParsedExpression drawcondition,
String shadowtype)
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, getDrawCondition, getShadowtype, getTexturePath, getType, isRelativePosition, isRelativeRotation, isRelativeSize, setColor, setDrawCondition, setShadowtype, setTexturePath, setType
bindPosition, bindRotation, bindSize, getPosition, getRotation, getSize, isCreated, setCreated, setPosition, setRotation, setSize
public Cylinder3d(double radius, double height)
radius
- height
- public Cylinder3d(Object position, Object rotation, Object size, int absFlags, Object c, String texturePath, double radius, double height, IParsedExpression drawcondition, String shadowtype)
position
- rotation
- size
- absFlags
- c
- texturePath
- radius
- height
- drawcondition
- Copyright © 2012. All Rights Reserved.