com.threerings.opengl.scene
Interface SceneElement

All Superinterfaces:
Compositable, Intersectable, SceneObject, Tickable
All Known Implementing Classes:
AreaElement, Model, RectangleElement, Scene.Transient, ShapeConfigElement, ShapeSceneElement, SimpleSceneElement, TextBillboard

public interface SceneElement
extends SceneObject, Tickable, Intersectable, Compositable

Interface for elements that can be embedded into scenes.


Nested Class Summary
static class SceneElement.TickPolicy
          Determines when the Tickable.tick(float) method must be called.
 
Method Summary
 SceneElement.TickPolicy getTickPolicy()
          Returns the policy that determines when the Tickable.tick(float) method must be called.
 Object getUserObject()
          Returns this element's user object reference.
 void setInfluences(SceneInfluenceSet influences)
          Sets the influences affecting this element.
 void wasAdded(Scene scene)
          Notes that the element was added to the specified scene.
 void willBeRemoved()
          Notes that the element will be removed from the scene.
 
Methods inherited from interface com.threerings.opengl.scene.SceneObject
getBounds, updateLastVisit
 
Methods inherited from interface com.threerings.opengl.util.Tickable
tick
 
Methods inherited from interface com.threerings.opengl.util.Intersectable
getIntersection
 
Methods inherited from interface com.threerings.opengl.compositor.Compositable
composite
 

Method Detail

getTickPolicy

SceneElement.TickPolicy getTickPolicy()
Returns the policy that determines when the Tickable.tick(float) method must be called.


getUserObject

Object getUserObject()
Returns this element's user object reference.


wasAdded

void wasAdded(Scene scene)
Notes that the element was added to the specified scene.


willBeRemoved

void willBeRemoved()
Notes that the element will be removed from the scene.


setInfluences

void setInfluences(SceneInfluenceSet influences)
Sets the influences affecting this element.



Copyright © 2011. All Rights Reserved.