net.java.joglutils.msg.nodes
Class DepthTest
java.lang.Object
net.java.joglutils.msg.nodes.Node
net.java.joglutils.msg.nodes.DepthTest
public class DepthTest
- extends Node
Represents depth test state.
Method Summary |
void |
doAction(Action action)
Performs the "typical" operation for this node when an action is
applied to it. |
boolean |
getEnabled()
Returns whether depth testing is enabled. |
void |
setEnabled(boolean enabled)
Sets whether depth testing is enabled. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DepthTest
public DepthTest()
setEnabled
public void setEnabled(boolean enabled)
- Sets whether depth testing is enabled. Defaults to true.
getEnabled
public boolean getEnabled()
- Returns whether depth testing is enabled. Defaults to true.
doAction
public void doAction(Action action)
- Description copied from class:
Node
- Performs the "typical" operation for this node when an action is
applied to it. The default implementation does nothing.
- Overrides:
doAction
in class Node