com.vwp.vuapi.objects
Class VUSpotLightObjectInfo
java.lang.Object
com.vwp.vuapi.util.VUInfo
com.vwp.vuapi.objects.VUObjectInfo
com.vwp.vuapi.objects.VULightObjectInfo
com.vwp.vuapi.objects.VUSpotLightObjectInfo
public class VUSpotLightObjectInfo
- extends VULightObjectInfo
With this class light objects of type "spotlight" can be managed.
| Fields inherited from class com.vwp.vuapi.objects.VULightObjectInfo |
color, switchLightOff, switchLightOn, VU_OBJECT_LIGHT_SWITCH_0_2_SEC, VU_OBJECT_LIGHT_SWITCH_0_25_SEC, VU_OBJECT_LIGHT_SWITCH_0_33_SEC, VU_OBJECT_LIGHT_SWITCH_0_5_SEC, VU_OBJECT_LIGHT_SWITCH_1_SEC, VU_OBJECT_LIGHT_SWITCH_2_SEC, VU_OBJECT_LIGHT_SWITCH_3_SEC, VU_OBJECT_LIGHT_SWITCH_4_SEC, VU_OBJECT_LIGHT_SWITCH_5_SEC, VU_OBJECT_LIGHT_SWITCH_FX_FIRE, VU_OBJECT_LIGHT_SWITCH_NONE, VU_OBJECT_LIGHT_SWITCH_RANDOM_FAST, VU_OBJECT_LIGHT_SWITCH_RANDOM_MEDIUM, VU_OBJECT_LIGHT_SWITCH_RANDOM_SLOW |
| Fields inherited from class com.vwp.vuapi.util.VUInfo |
ID, name |
|
Constructor Summary |
VUSpotLightObjectInfo(double openingAngle,
double concentration,
Color color,
int switchLightOn,
int switchLightOff,
double x,
double y,
double z,
double angleX,
double angleY,
double angleZ)
This constructor is the only one that can be used directly from
a users application to create a new VUSpotLightObjectInfo. |
VUSpotLightObjectInfo(long ID,
long previousID,
double openingAngle,
double concentration,
Color color,
int flags,
double x,
double y,
double z,
double angleX,
double angleY,
double angleZ)
|
| Methods inherited from class com.vwp.vuapi.util.VUInfo |
set |
openingAngle
public double openingAngle
concentration
public double concentration
VUSpotLightObjectInfo
public VUSpotLightObjectInfo(long ID,
long previousID,
double openingAngle,
double concentration,
Color color,
int flags,
double x,
double y,
double z,
double angleX,
double angleY,
double angleZ)
VUSpotLightObjectInfo
public VUSpotLightObjectInfo(double openingAngle,
double concentration,
Color color,
int switchLightOn,
int switchLightOff,
double x,
double y,
double z,
double angleX,
double angleY,
double angleZ)
- This constructor is the only one that can be used directly from
a users application to create a new VUSpotLightObjectInfo. The resulting
object can be used to add a new spotlight to a world
- Parameters:
openingAngle - the opening anle of the spotconcentration - the lights concentration within the spotcolor - the color of the loghtswitchLightOn - this flag specifies the behavior for switching the
light on, here one of the VU_OBJECT_LIGHT_SWITCH_-constants has
to be setswitchLightOff - this flag specifies the behavior for switching the
light off, here one of the VU_OBJECT_LIGHT_SWITCH_-constants has
to be setx - the x coordinate of the light sourcey - the y coordinate of the light sourcez - the z coordinate of the light sourceangleX - the lights orientation in x directionangleY - the lights orientation in y directionangleZ - the lights orientation in z direction
set
public void set(VUSpotLightObjectInfo oi)