Package | away3d.lights |
Class | public class AmbientLight3D |
Inheritance | AmbientLight3D AbstractLight Object |
Property | Defined By | ||
---|---|---|---|
ambient : Number
Defines a coefficient for the ambient light intensity. | AmbientLight3D | ||
ambientBitmap : BitmapData [read-only]
Lightmap for ambient intensity. | AbstractLight | ||
ambientColorTransform : ColorTransform [read-only]
Color transform used in cached shading materials for combined ambient and diffuse color intensities. | AbstractLight | ||
ambientDiffuseBitmap : BitmapData [read-only]
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 [read-only]
Lightmap for diffuse intensity. | AbstractLight | ||
diffuseColorTransform : ColorTransform [read-only]
Color transform used in cached shading materials for ambient intensities. | AbstractLight | ||
parent : ObjectContainer3D
Defines the parent of the light. | AbstractLight | ||
specularBitmap : BitmapData [read-only]
Lightmap for specular intensity. | AbstractLight |
Method | Defined By | ||
---|---|---|---|
AmbientLight3D(init:Object = null)
Creates a new AmbientLight3D object. | AmbientLight3D | ||
[override]
Duplicates the light object's properties to another AmbientLight3D object
| AmbientLight3D |
ambient | property |
ambient:Number
Defines a coefficient for the ambient light intensity.
public function get ambient():Number
public function set ambient(value:Number):void
AmbientLight3D | () | Constructor |
public function AmbientLight3D(init:Object = null)
Creates a new AmbientLight3D
object.
init:Object (default = null ) — [optional] An initialisation object for specifying default instance properties.
|
clone | () | method |
override public function clone(light:AbstractLight = null):AbstractLight
Duplicates the light object's properties to another AmbientLight3D
object
Parameters
light:AbstractLight (default = null ) — [optional] The new light instance into which all properties are copied
|
AbstractLight — The new light instance with duplicated properties applied
|