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 Type
    Method
    Description
    boolean
    spatialClean(Spatial spatial, DirtyType dirtyType)
    spatialClean is called when a spatial is changed in respect to transform, bounding, attach/dettach or renderstate
    boolean
    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

      boolean spatialDirty(Spatial spatial, DirtyType dirtyType)
      spatialDirty is called when a spatial is changed in respect to transform, bounding, attach/dettach or renderstate
      Parameters:
      spatial - the spatial
      dirtyType - the dirty type
      Returns:
      true if the event should be consumed and not continue up the scenegraph.
    • spatialClean

      boolean spatialClean(Spatial spatial, DirtyType dirtyType)
      spatialClean is called when a spatial is changed in respect to transform, bounding, attach/dettach or renderstate
      Parameters:
      spatial - the spatial
      dirtyType - the dirty type
      Returns:
      true if the event should be consumed and not continue up the scenegraph.