| Package | away3d.lights |
| Class | public class AbstractLight |
| Inheritance | AbstractLight Object |
| 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.
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.
public function get ambientColorTransform():ColorTransform| ambientDiffuseBitmap | property |
ambientDiffuseBitmap:BitmapData [read-only] Combined lightmap for ambient and diffuse intensities.
public function get ambientDiffuseBitmap():BitmapData| color | property |
color:uintDefines the color of the light object.
public function get color():uint public function set color(value:uint):void| debug | property |
debug:BooleanToggles debug mode: light object is visualised in the scene.
public function get debug():Boolean public function set debug(value:Boolean):void| diffuseBitmap | property |
diffuseBitmap:BitmapData [read-only] Lightmap for diffuse intensity.
public function get diffuseBitmap():BitmapData| diffuseColorTransform | property |
diffuseColorTransform:ColorTransform [read-only] Color transform used in cached shading materials for ambient intensities.
public function get diffuseColorTransform():ColorTransform| ini | property |
protected var ini:InitInstance 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:ObjectContainer3DDefines the parent of the light.
public function get parent():ObjectContainer3D public function set parent(value:ObjectContainer3D):void| specularBitmap | property |
specularBitmap:BitmapData [read-only] Lightmap for specular intensity.
public function get specularBitmap():BitmapData| AbstractLight | () | Constructor |
public function AbstractLight(init:Object = null)
Creates a new AmbientLight3D object.
init:Object (default = null) — [optional] An initialisation object for specifying default instance properties.
|
| clone | () | method |
public function clone(light:AbstractLight = null):AbstractLight
Duplicates the light object's properties to another AbstractLight 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
|