com.threerings.opengl.scene
Class SceneInfluenceSet

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractSet<T>
          extended by com.threerings.util.AbstractIdentityHashSet<SceneInfluence>
              extended by com.threerings.opengl.scene.SceneInfluenceSet
All Implemented Interfaces:
Iterable<SceneInfluence>, Collection<SceneInfluence>, Set<SceneInfluence>

public class SceneInfluenceSet
extends AbstractIdentityHashSet<SceneInfluence>

A set of scene influences.


Constructor Summary
SceneInfluenceSet()
           
 
Method Summary
 Map<String,Object> getDefinitions(Map<String,Object> definitions)
          Returns the set of definitions for this influence set.
 FogState getFogState(Box bounds, FogState state)
          Returns the fog state for this influence set.
 LightState getLightState(Box bounds, LightState state)
          Returns the light state for this influence set.
 Projection[] getProjections(Projection[] projections)
          Returns the set of projections for this influence set.
 
Methods inherited from class com.threerings.util.AbstractIdentityHashSet
add, clear, contains, iterator, remove, size
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, isEmpty, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
addAll, containsAll, isEmpty, retainAll, toArray, toArray
 

Constructor Detail

SceneInfluenceSet

public SceneInfluenceSet()
Method Detail

getFogState

public FogState getFogState(Box bounds,
                            FogState state)
Returns the fog state for this influence set.

Parameters:
bounds - the bounds used to resolve conflicts.
state - an existing state to reuse, if possible.

getLightState

public LightState getLightState(Box bounds,
                                LightState state)
Returns the light state for this influence set.

Parameters:
bounds - the bounds used to resolve conflicts.
state - an existing state to reuse, if possible.

getProjections

public Projection[] getProjections(Projection[] projections)
Returns the set of projections for this influence set.

Parameters:
projections - an existing array to reuse, if possible.

getDefinitions

public Map<String,Object> getDefinitions(Map<String,Object> definitions)
Returns the set of definitions for this influence set.

Parameters:
definitions - an existing map to reuse, if possible.


Copyright © 2011. All Rights Reserved.