| Package | away3d.lights |
| Class | public class AbstractLight |
| Subclasses | AmbientLight3D, DirectionalLight3D, PointLight3D |
| Property | Defined by | ||
|---|---|---|---|
| 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 | ||
| Property | Defined by | ||
|---|---|---|---|
| ini : Init
Instance of the Init object used to hold and parse default property values
specified by the initialiser object in the 3d object constructor.
| AbstractLight | ||
| Method | Defined by | ||
|---|---|---|---|
|
AbstractLight
(init:Object = null)
Creates a new
AmbientLight3D object. | AbstractLight | ||
|
Duplicates the light object's properties to another
AbstractLight object
| AbstractLight | ||
| ambientBitmap | property |
ambientBitmap:BitmapData [read-only]Lightmap for ambient intensity.
Implementation public function get ambientBitmap():BitmapData
| ambientColorTransform | property |
ambientColorTransform:ColorTransform [read-only]Color transform used in cached shading materials for combined ambient and diffuse color intensities.
Implementation public function get ambientColorTransform():ColorTransform
| ambientDiffuseBitmap | property |
ambientDiffuseBitmap:BitmapData [read-only]Combined lightmap for ambient and diffuse intensities.
Implementation public function get ambientDiffuseBitmap():BitmapData
| color | property |
color:uint [read-write]Defines the color of the light object.
Implementation public function get color():uint
public function set color(value:uint):void
| debug | property |
debug:Boolean [read-write]Toggles debug mode: light object is visualised in the scene.
Implementation public function get debug():Boolean
public function set debug(value:Boolean):void
| diffuseBitmap | property |
diffuseBitmap:BitmapData [read-only]Lightmap for diffuse intensity.
Implementation public function get diffuseBitmap():BitmapData
| diffuseColorTransform | property |
diffuseColorTransform:ColorTransform [read-only]Color transform used in cached shading materials for ambient intensities.
Implementation public function get diffuseColorTransform():ColorTransform
| ini | property |
protected var ini:Init
Instance of the Init object used to hold and parse default property values specified by the initialiser object in the 3d object constructor.
| parent | property |
parent:ObjectContainer3D [read-write]Defines the parent of the light.
Implementation public function get parent():ObjectContainer3D
public function set parent(value:ObjectContainer3D):void
| specularBitmap | property |
specularBitmap:BitmapData [read-only]Lightmap for specular intensity.
Implementation public function get specularBitmap():BitmapData
| AbstractLight | () | constructor |
public function AbstractLight(init:Object = null)Parameters
init:Object (default = null) — [optional] An initialisation object for specifying default instance properties.
|
color:Color (default = 0xFFFFFF) | |
debug:Boolean (default = false) |
| clone | () | method |
public function clone(light:AbstractLight = null):AbstractLight
Duplicates the light object's properties to another AbstractLight 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
|