com.vwp.vuapi.objects
Class VUVisiblePointLightObjectInfo
java.lang.Object
com.vwp.vuapi.util.VUInfo
com.vwp.vuapi.objects.VUObjectInfo
com.vwp.vuapi.objects.VULightObjectInfo
com.vwp.vuapi.objects.VUPointLightObjectInfo
com.vwp.vuapi.objects.VUVisiblePointLightObjectInfo
public class VUVisiblePointLightObjectInfo
- extends VUPointLightObjectInfo
With this class a visible point light can be managed and build within a world
|
Field Summary |
double |
scale
|
| 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 |
VUVisiblePointLightObjectInfo(double linearAttenuation,
double quadraticAttenuation,
double scale,
Color color,
int switchLightOn,
int switchLightOff,
double x,
double y,
double z)
This is a constructor for 3d point light objects that have to be
build and placed newly within a world |
VUVisiblePointLightObjectInfo(long ID,
long previousID,
double linearAttenuation,
double quadraticAttenuation,
double scale,
Color color,
int flags,
double x,
double y,
double z)
|
| Methods inherited from class com.vwp.vuapi.util.VUInfo |
set |
scale
public double scale
VUVisiblePointLightObjectInfo
public VUVisiblePointLightObjectInfo(long ID,
long previousID,
double linearAttenuation,
double quadraticAttenuation,
double scale,
Color color,
int flags,
double x,
double y,
double z)
VUVisiblePointLightObjectInfo
public VUVisiblePointLightObjectInfo(double linearAttenuation,
double quadraticAttenuation,
double scale,
Color color,
int switchLightOn,
int switchLightOff,
double x,
double y,
double z)
- This is a constructor for 3d point light objects that have to be
build and placed newly within a world
- Parameters:
linearAttenuation - the linear attenuation factor of the lightquadraticAttenuation - the quadratic attenuation value of the lightscale - the scale factor that influences the visible size of the
lightcolor - the lights colorswitchLightOn - 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 source
set
public void set(VUVisiblePointLightObjectInfo oi)