com.threerings.opengl.scene
Class SceneInfluenceSet
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<T>
com.threerings.util.AbstractIdentityHashSet<SceneInfluence>
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.
SceneInfluenceSet
public SceneInfluenceSet()
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.