com.threerings.opengl.scene
Class LightInfluence

java.lang.Object
  extended by com.threerings.util.ShallowObject
      extended by com.threerings.opengl.scene.SceneInfluence
          extended by com.threerings.opengl.scene.LightInfluence
All Implemented Interfaces:
SceneObject

public class LightInfluence
extends SceneInfluence

Represents the influence of a light.


Constructor Summary
LightInfluence(Light light)
          Creates a new light influence.
 
Method Summary
 Light getLight()
          Returns the light associated with this influence, or null for none.
 
Methods inherited from class com.threerings.opengl.scene.SceneInfluence
getAmbientLight, getBounds, getDefinitions, getFogState, getProjection, reset, updateLastVisit
 
Methods inherited from class com.threerings.util.ShallowObject
equals, hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LightInfluence

public LightInfluence(Light light)
Creates a new light influence.

Method Detail

getLight

public Light getLight()
Description copied from class: SceneInfluence
Returns the light associated with this influence, or null for none.

Overrides:
getLight in class SceneInfluence


Copyright © 2011. All Rights Reserved.