com.jme3.scene
クラス LightNode
java.lang.Object
com.jme3.scene.Spatial
com.jme3.scene.Node
com.jme3.scene.LightNode
- すべての実装されたインタフェース:
- Asset, Collidable, Savable, java.lang.Cloneable
public class LightNode
- extends Node
LightNode
is used to link together a Light
object
with a Node
object.
クラス com.jme3.scene.Node から継承されたメソッド |
attachChild, attachChildAt, clone, collideWith, deepClone, depthFirstTraversal, descendantMatches, descendantMatches, descendantMatches, detachAllChildren, detachChild, detachChildAt, detachChildNamed, getChild, getChild, getChildIndex, getChildren, getQuantity, getTriangleCount, getVertexCount, hasChild, read, setLodLevel, setMaterial, setModelBound, swapChildren, updateGeometricState, updateLogicalState, updateModelBound, write |
クラス com.jme3.scene.Spatial から継承されたメソッド |
addControl, addLight, breadthFirstTraversal, center, checkCulling, clone, getControl, getControl, getCullHint, getKey, getLastFrustumIntersection, getLocalCullHint, getLocalLightList, getLocalQueueBucket, getLocalRotation, getLocalScale, getLocalShadowMode, getLocalToWorldMatrix, getLocalTransform, getLocalTranslation, getName, getNumControls, getParent, getQueueBucket, getShadowMode, getUserData, getUserDataKeys, getWorldBound, getWorldLightList, getWorldRotation, getWorldScale, getWorldTransform, getWorldTranslation, hasAncestor, localToWorld, lookAt, matches, move, move, removeControl, removeControl, removeFromParent, removeLight, rotate, rotate, rotateUpTo, runControlRender, scale, scale, setCullHint, setKey, setLastFrustumIntersection, setLocalRotation, setLocalRotation, setLocalScale, setLocalScale, setLocalScale, setLocalTransform, setLocalTranslation, setLocalTranslation, setName, setQueueBucket, setShadowMode, setUserData, toString, worldToLocal |
クラス java.lang.Object から継承されたメソッド |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LightNode
public LightNode()
- Serialization only. Do not use.
LightNode
public LightNode(java.lang.String name,
Light light)
LightNode
public LightNode(java.lang.String name,
LightControl control)
setEnabled
public void setEnabled(boolean enabled)
- Enable or disable the
LightNode
functionality.
- パラメータ:
enabled
- If false, the functionality of LightNode will
be disabled.
isEnabled
public boolean isEnabled()
setControlDir
public void setControlDir(LightControl.ControlDirection controlDir)
setCamera
public void setCamera(Light light)
getControlDir
public LightControl.ControlDirection getControlDir()
getCamera
public Light getCamera()