Package | away3d.lights |
Class | public class AmbientLight3D |
Inheritance | AmbientLight3D AbstractLight |
Property | Defined by | ||
---|---|---|---|
ambient : Number
Defines a coefficient for the ambient light intensity.
| AmbientLight3D | ||
ambientBitmap : BitmapData
Lightmap for ambient intensity.
| AbstractLight | ||
ambientColorTransform : ColorTransform
Color transform used in cached shading materials for combined ambient and diffuse color intensities.
| AbstractLight | ||
ambientDiffuseBitmap : BitmapData
Combined lightmap for ambient and diffuse intensities.
| AbstractLight | ||
color : uint
Defines the color of the light object.
| AbstractLight | ||
debug : Boolean
Toggles debug mode: light object is visualised in the scene.
| AbstractLight | ||
diffuseBitmap : BitmapData
Lightmap for diffuse intensity.
| AbstractLight | ||
diffuseColorTransform : ColorTransform
Color transform used in cached shading materials for ambient intensities.
| AbstractLight | ||
parent : ObjectContainer3D
Defines the parent of the light.
| AbstractLight | ||
specularBitmap : BitmapData
Lightmap for specular intensity.
| AbstractLight |
Method | Defined by | ||
---|---|---|---|
AmbientLight3D
(init:Object = null)
Creates a new
AmbientLight3D object. | AmbientLight3D | ||
Duplicates the light object's properties to another
AmbientLight3D object
| AmbientLight3D |
ambient | property |
ambient:Number
[read-write]Defines a coefficient for the ambient light intensity.
Implementation public function get ambient():Number
public function set ambient(value:Number):void
AmbientLight3D | () | constructor |
public function AmbientLight3D(init:Object = null)
Parameters
init:Object (default = null ) — [optional] An initialisation object for specifying default instance properties.
|
ambient:Number (default = 0.5, min:0, max:1) |
clone | () | method |
public override function clone(light:AbstractLight = null):AbstractLight
Duplicates the light object's properties to another AmbientLight3D
object
light:AbstractLight (default = null ) — [optional] The new light instance into which all properties are copied
|
AbstractLight —
The new light instance with duplicated properties applied
|