com.vwp.vuapi.objects
Class VURotationShapeObjectInfo
java.lang.Object
com.vwp.vuapi.util.VUInfo
com.vwp.vuapi.objects.VUObjectInfo
com.vwp.vuapi.objects.VUGeneratedObjectInfo
com.vwp.vuapi.objects.VUPrimitiveObjectInfo
com.vwp.vuapi.objects.VURotationShapeObjectInfo
public class VURotationShapeObjectInfo
- extends VUPrimitiveObjectInfo
This is the class that can be used to handle rotation symmetric 3d ojects
| Fields inherited from class com.vwp.vuapi.objects.VUGeneratedObjectInfo |
color, materialFlags, val1, val2, val3, VU_OBJECT_MATERIAL_GLASS, VU_OBJECT_MATERIAL_MATTE, VU_OBJECT_MATERIAL_METAL, VU_OBJECT_MATERIAL_PLASTIC, VU_OBJECT_MATERIAL_STANDARD, VU_OBJECT_MATERIAL_WATER |
| Fields inherited from class com.vwp.vuapi.util.VUInfo |
ID, name |
|
Constructor Summary |
VURotationShapeObjectInfo()
|
VURotationShapeObjectInfo(int reflectFlags,
int materialFlags,
double val1,
double val2,
double val3,
Color color,
double x,
double y,
double z,
double angleX,
double angleY,
double angleZ,
float[] shapeDataX,
float[] shapeDataY)
With this constructor a new VURotationShapeObjectInfo object can be
created for building a new rotation shape object in a world |
VURotationShapeObjectInfo(long ID,
long previousID,
double val1,
double val2,
double val3,
Color color,
int flags,
double x,
double y,
double z,
double angleX,
double angleY,
double angleZ,
float[] shapeDataX,
float[] shapeDataY)
|
| Methods inherited from class com.vwp.vuapi.util.VUInfo |
set |
VU_ROTATIONSHAPE_MAX_SHAPESURFACE_NUM
public static final byte VU_ROTATIONSHAPE_MAX_SHAPESURFACE_NUM
- The maximum numbers of nodes a rotation shape can consist of in radial direction
- See Also:
- Constant Field Values
shapeDataX
public float[] shapeDataX
shapeDataY
public float[] shapeDataY
VURotationShapeObjectInfo
public VURotationShapeObjectInfo()
VURotationShapeObjectInfo
public VURotationShapeObjectInfo(long ID,
long previousID,
double val1,
double val2,
double val3,
Color color,
int flags,
double x,
double y,
double z,
double angleX,
double angleY,
double angleZ,
float[] shapeDataX,
float[] shapeDataY)
VURotationShapeObjectInfo
public VURotationShapeObjectInfo(int reflectFlags,
int materialFlags,
double val1,
double val2,
double val3,
Color color,
double x,
double y,
double z,
double angleX,
double angleY,
double angleZ,
float[] shapeDataX,
float[] shapeDataY)
- With this constructor a new VURotationShapeObjectInfo object can be
created for building a new rotation shape object in a world
- Parameters:
reflectFlags - this value specifies if and how the surface of the
object has to reflect the light, please set a VU_PRIMITIVE_REFLECT_xxx
constant herematerialFlags - this one defines the kind of material the object has to
consist of using a VU_OBJECT_MATERIAL_xxx constantval1 - the first parameter value of the object typeval2 - the second parameter value of the object typeval3 - the third parameter value of the object typecolor - the color of the new objectx - the x coordinate of the objects positiony - the y coordinate of the objects positionz - the z coordinate of the objects positionangleX - the x angle of the objects orientationangleY - the y angle of the objects orientationangleZ - the z angle of the objects orientationshapeDataX - an array of float values that define the form of the
object in radial direction for the x coordinate directionshapeDataY - an array of float values that define the form of the
object in radial direction for the y coordinate direction
set
public void set(VURotationShapeObjectInfo oi)