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 |
isLightActive()
Active property composite of the enable, visibility, culling, ... states.
|
boolean |
isVisible() |
java.lang.String |
toString() |
void |
updateToView(View view)
Update the eye space position/direction with the specified
View |
init, onActivate, onDeactivate, onDestroy, startclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetGameObjectpublic 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 isLightActive()
ILightILight is activepublic boolean getProperty(ILightPropertyReceiver lm, LightProperty p)
lm - the ILightModel to set the property top - a LightPropertyBonzai Engine 1.4.1-20200831 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2019 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com