com.vwp.vuapi.objects
Class VUGroundObjectInfo
java.lang.Object
com.vwp.vuapi.util.VUInfo
com.vwp.vuapi.objects.VUObjectInfo
com.vwp.vuapi.objects.VUStandardObjectInfo
com.vwp.vuapi.objects.VUGroundObjectInfo
public class VUGroundObjectInfo
- extends VUStandardObjectInfo
This class can be used to create a special object type for generating
a ground within a world. Comparing to all other object types this one
doesn't uses the members ID and previousID because there can be only one
ground object exclusively within a world.
| Fields inherited from class com.vwp.vuapi.util.VUInfo |
name |
|
Constructor Summary |
VUGroundObjectInfo(String FileURL,
double y,
int mode)
This constructor can be used to create a new VUGroundObjectInfo
object to build or replace the ground object within aworld |
|
Method Summary |
void |
set(VUObjectInfo oi)
This method sets the available values of the given VUInfo
object, that means, memebers of the given parameter that
are not -1 and not null are copied to the related members
of this object |
| Methods inherited from class com.vwp.vuapi.util.VUInfo |
set |
VU_GROUND_MODE_COMPLEX_FIELDS
public static final int VU_GROUND_MODE_COMPLEX_FIELDS
- mode flag: use a different 3d model for every ground tile
- See Also:
- Constant Field Values
VU_GROUND_MODE_REPEATED_FIELD
public static final int VU_GROUND_MODE_REPEATED_FIELD
- mode flag: use one single 3d model for the round and repeat it to get a closed surface
- See Also:
- Constant Field Values
mode
public int mode
x
public double x
z
public double z
angleX
public double angleX
angleY
public double angleY
angleZ
public double angleZ
command
public String command
ID
public int ID
previousID
public int previousID
VUGroundObjectInfo
public VUGroundObjectInfo(String FileURL,
double y,
int mode)
- This constructor can be used to create a new VUGroundObjectInfo
object to build or replace the ground object within aworld
- Parameters:
FileURL - the URL of the 3d model or the URL of the base name of
the 3 models that has/have to be used as groundy - the vertical position of the ground, this value normally
will be 0mode - the mode flag to define which kind of ground is used
set
public void set(VUObjectInfo oi)
- Description copied from class:
VUObjectInfo
- This method sets the available values of the given VUInfo
object, that means, memebers of the given parameter that
are not -1 and not null are copied to the related members
of this object
- Overrides:
set in class VUObjectInfo
- Parameters:
oi - the VUInfo object to copy the available
members from