public final class OmniLightComponent extends ILightComponent
| Modifier and Type | Field and Description |
|---|---|
Color3 |
color |
float |
radius |
float |
spotCutoff |
float |
spotExponent |
| Constructor and Description |
|---|
OmniLightComponent() |
| Modifier and Type | Method and Description |
|---|---|
LightType |
getLightType() |
boolean |
getProperty(ILightPropertyReceiver lm,
LightProperty p) |
IVolume |
getVolume(int bvOptions) |
boolean |
isCulled() |
boolean |
isLightActive()
Active property composite of the enable, visibility, culling, ... states.
|
boolean |
isVisible() |
void |
setCulled(boolean culled) |
java.lang.String |
toString() |
void |
updateToView(View view)
Update the eye space position/direction with the specified
View |
getGameObject, init, onActivate, onDeactivate, onDestroy, startpublic final Color3 color
public float spotCutoff
public float spotExponent
public float radius
public java.lang.String toString()
toString in class java.lang.Objectpublic IVolume getVolume(int bvOptions)
bvOptions - bounding volume options.BoundingBox or BoundingSphere depending on options.VolumeOptions,
Box,
Sphere,
Cylinder,
Capsulepublic void updateToView(View view)
ILightViewpublic boolean isVisible()
public boolean isCulled()
public void setCulled(boolean culled)
culled - cull state value. true if the object is to be culled (hidden)public boolean isLightActive()
ILightILight is activepublic boolean getProperty(ILightPropertyReceiver lm, LightProperty p)
lm - the ILightModel to set the property top - a LightPropertyBonzai Engine 1.3.4 11/12/2015 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2015 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com