Package com.ardor3d.scenegraph.event
Interface DirtyEventListener
- All Known Implementing Classes:
SceneGraphManager
public interface DirtyEventListener
DirtyEventListener is the interface for objects interested in updates when spatials get marked dirty / clean
(updated).
-
Method Summary
Modifier and TypeMethodDescriptionboolean
spatialClean
(Spatial spatial, DirtyType dirtyType) spatialClean is called when a spatial is changed in respect to transform, bounding, attach/dettach or renderstateboolean
spatialDirty
(Spatial spatial, DirtyType dirtyType) spatialDirty is called when a spatial is changed in respect to transform, bounding, attach/dettach or renderstate
-
Method Details
-
spatialDirty
spatialDirty is called when a spatial is changed in respect to transform, bounding, attach/dettach or renderstate- Parameters:
spatial
- the spatialdirtyType
- the dirty type- Returns:
- true if the event should be consumed and not continue up the scenegraph.
-
spatialClean
spatialClean is called when a spatial is changed in respect to transform, bounding, attach/dettach or renderstate- Parameters:
spatial
- the spatialdirtyType
- the dirty type- Returns:
- true if the event should be consumed and not continue up the scenegraph.
-