net.java.joglutils.msg.nodes
Class DepthTest

java.lang.Object
  extended by net.java.joglutils.msg.nodes.Node
      extended by net.java.joglutils.msg.nodes.DepthTest

public class DepthTest
extends Node

Represents depth test state.


Constructor Summary
DepthTest()
           
 
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 net.java.joglutils.msg.nodes.Node
rayPick, render
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DepthTest

public DepthTest()
Method Detail

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