com.threerings.opengl.scene
Class AmbientLightInfluence

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

public class AmbientLightInfluence
extends SceneInfluence

Represents the influence of the ambient light level.


Constructor Summary
AmbientLightInfluence(Color4f color)
          Creates a new ambient light influence with the specified color.
 
Method Summary
 Color4f getAmbientLight()
          Returns the ambient light color associated with this influence, or null for none.
 
Methods inherited from class com.threerings.opengl.scene.SceneInfluence
getBounds, getDefinitions, getFogState, getLight, 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

AmbientLightInfluence

public AmbientLightInfluence(Color4f color)
Creates a new ambient light influence with the specified color.

Method Detail

getAmbientLight

public Color4f getAmbientLight()
Description copied from class: SceneInfluence
Returns the ambient light color associated with this influence, or null for none.

Overrides:
getAmbientLight in class SceneInfluence


Copyright © 2011. All Rights Reserved.