com.vwp.vuapi.objects
Class VUObjectInfo
java.lang.Object
com.vwp.vuapi.util.VUInfo
com.vwp.vuapi.objects.VUObjectInfo
- Direct Known Subclasses:
- VUGeneratedObjectInfo, VULightObjectInfo, VUPointSoundObjectInfo, VUStandardObjectInfo
public class VUObjectInfo
- extends VUInfo
This one is the base class for all kinds of VU object types. Normally
it should not be used and constructed directly, use the classes that
inherit form this one instead.
|
Field Summary |
double |
angleX
|
double |
angleY
|
double |
angleZ
|
long |
previousID
This value is used to identify an object that was modified. |
double |
x
|
double |
y
|
double |
z
|
| Fields inherited from class com.vwp.vuapi.util.VUInfo |
ID, name |
|
Constructor Summary |
VUObjectInfo(long ID,
double x,
double y,
double z)
|
|
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 |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
x
public double x
y
public double y
z
public double z
angleX
public double angleX
angleY
public double angleY
angleZ
public double angleZ
previousID
public long previousID
- This value is used to identify an object that was modified. It contains the ID
of that object before modification. So to find out if an object noticed to by a
listener is new or modified the value of tis field has to be compared with
the ID of the stored object. To automate that operation the VUObjectInfoTool
can be used.
VUObjectInfo
public VUObjectInfo(long ID,
double x,
double y,
double z)
set
public 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
- Parameters:
oi - the VUInfo object to copy the available
members from