Package | away3d.core.light |
Interface | public interface ILightConsumer |
Implementors | LightArray |
Property | Defined by | ||
---|---|---|---|
ambients : Array [read-only]
| ILightConsumer | ||
directionals : Array [read-only]
| ILightConsumer | ||
numLights : int [read-only]
| ILightConsumer | ||
points : Array [read-only]
| ILightConsumer |
Method | Defined by | ||
---|---|---|---|
Adds an ambient light primitive to the light consumer.
| ILightConsumer | ||
clear():void
| ILightConsumer | ||
Adds an directional light primitive to the light consumer.
| ILightConsumer | ||
Adds an point light primitive to the light consumer.
| ILightConsumer |
ambients | property |
ambients:Array
[read-only]Implementation
public function get ambients():Array
directionals | property |
directionals:Array
[read-only]Implementation
public function get directionals():Array
numLights | property |
numLights:int
[read-only]Implementation
public function get numLights():int
points | property |
points:Array
[read-only]Implementation
public function get points():Array
ambientLight | () | method |
public function ambientLight(ambient:AmbientLight):void
Adds an ambient light primitive to the light consumer.
Parametersambient:AmbientLight — The light primitive to add.
|
clear | () | method |
public function clear():void
directionalLight | () | method |
public function directionalLight(directional:DirectionalLight):void
Adds an directional light primitive to the light consumer.
Parametersdirectional:DirectionalLight — The light primitive to add.
|
pointLight | () | method |
public function pointLight(point:PointLight):void
Adds an point light primitive to the light consumer.
Parameterspoint:PointLight — The light primitive to add.
|