org.xith3d.scenegraph
Interface UpdatableNode
- All Known Implementing Classes:
- AbsoluteParticleSystemNode, BSPTextureAnimatedShape, BSPTreeGroup, Cal3dModel, DaeModel, GeneratorNode, Model, ParticleSystemNode, PointMassNode, RelativeParticleSystemNode, Text2D
public interface UpdatableNode
Node updater interface is designed to allow special code to adjust a node's appearance if it is
going to be rendered. This should *not* be used to adjust a transform since these methods
are only called if the renderer has determined that the node is within view. This is a way
of adjusting display only when necessary. An example would be a particle system, where you
only want to acutally adjust the geometry if the particle system is within view.
|
Method Summary |
boolean |
update(View view,
org.openmali.spatial.bodies.Frustum frustum,
long nanoTime,
long nanoStep)
|
update
boolean update(View view,
org.openmali.spatial.bodies.Frustum frustum,
long nanoTime,
long nanoStep)
- Parameters:
view - the view that's currently used for renderingfrustum - view frustumnanoTime - nanoStep -
- Returns:
- True if this should be rendered, false if it should not.