com.vwp.vuapi.objects
Class VU3DTextObjectInfo

java.lang.Object
  extended by com.vwp.vuapi.util.VUInfo
      extended by com.vwp.vuapi.objects.VUObjectInfo
          extended by com.vwp.vuapi.objects.VUGeneratedObjectInfo
              extended by com.vwp.vuapi.objects.VU3DTextObjectInfo

public class VU3DTextObjectInfo
extends VUGeneratedObjectInfo

This class can be used to create 3d text objects


Field Summary
 int fontFlags
           
 int reflect
           
 String text
           
static int VU_OBJECT_3DTEXT_FONT_MONOSPACED
          font flag: a monospaced font has to be used for the 3d text
static int VU_OBJECT_3DTEXT_FONT_SANSSERIF
          font flag: a "SansSerif" font has to be used for the text
static int VU_OBJECT_3DTEXT_FONT_SERIF
          font flag: a "Serif" font has to be used for the text
 
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.objects.VUObjectInfo
angleX, angleY, angleZ, previousID, x, y, z
 
Fields inherited from class com.vwp.vuapi.util.VUInfo
ID, name
 
Constructor Summary
VU3DTextObjectInfo(int fontFlags, int materialFlags, double val1, double val2, double val3, Color color, double x, double y, double z, double angleX, double angleY, double angleZ, String text)
          Constructs a new VU3DTextObjectInfo that can be used for putting a new 3d text object into a world
VU3DTextObjectInfo(long ID, long previousID, int flags, double val1, double val2, double val3, Color color, double x, double y, double z, double angleX, double angleY, double angleZ, String text)
          Internal constructor, do not use it for creating objects that have to be buildt newly
 
Method Summary
 void set(VU3DTextObjectInfo oi)
           
 
Methods inherited from class com.vwp.vuapi.objects.VUObjectInfo
set
 
Methods inherited from class com.vwp.vuapi.util.VUInfo
set
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VU_OBJECT_3DTEXT_FONT_SANSSERIF

public static final int VU_OBJECT_3DTEXT_FONT_SANSSERIF
font flag: a "SansSerif" font has to be used for the text

See Also:
Constant Field Values

VU_OBJECT_3DTEXT_FONT_SERIF

public static final int VU_OBJECT_3DTEXT_FONT_SERIF
font flag: a "Serif" font has to be used for the text

See Also:
Constant Field Values

VU_OBJECT_3DTEXT_FONT_MONOSPACED

public static final int VU_OBJECT_3DTEXT_FONT_MONOSPACED
font flag: a monospaced font has to be used for the 3d text

See Also:
Constant Field Values

text

public String text

fontFlags

public int fontFlags

reflect

public int reflect
Constructor Detail

VU3DTextObjectInfo

public VU3DTextObjectInfo(long ID,
                          long previousID,
                          int flags,
                          double val1,
                          double val2,
                          double val3,
                          Color color,
                          double x,
                          double y,
                          double z,
                          double angleX,
                          double angleY,
                          double angleZ,
                          String text)
Internal constructor, do not use it for creating objects that have to be buildt newly


VU3DTextObjectInfo

public VU3DTextObjectInfo(int fontFlags,
                          int materialFlags,
                          double val1,
                          double val2,
                          double val3,
                          Color color,
                          double x,
                          double y,
                          double z,
                          double angleX,
                          double angleY,
                          double angleZ,
                          String text)
Constructs a new VU3DTextObjectInfo that can be used for putting a new 3d text object into a world

Parameters:
fontFlags - this value specifies which font type has to be used for the text
materialFlags - this one defines the kind of material the object has to consist of using a VU_OBJECT_MATERIAL_xxx constant
val1 - the first parameter value of the object type
val2 - the second parameter value of the object type
val3 - the third parameter value of the object type
color - the color of the new object
x - the x coordinate of the objects position
y - the y coordinate of the objects position
z - the z coordinate of the objects position
angleX - the x angle of the objects orientation
angleY - the y angle of the objects orientation
angleZ - the z angle of the objects orientation
text - the texts string
Method Detail

set

public void set(VU3DTextObjectInfo oi)