Packageaway3d.lights
Classpublic class AmbientLight3D
InheritanceAmbientLight3D Inheritance AbstractLight Inheritance Object

Lightsource that colors all shaded materials evenly from any angle



Public Properties
 PropertyDefined By
  ambient : Number
Defines a coefficient for the ambient light intensity.
AmbientLight3D
 InheritedambientBitmap : BitmapData
[read-only] Lightmap for ambient intensity.
AbstractLight
 InheritedambientColorTransform : ColorTransform
[read-only] Color transform used in cached shading materials for combined ambient and diffuse color intensities.
AbstractLight
 InheritedambientDiffuseBitmap : BitmapData
[read-only] Combined lightmap for ambient and diffuse intensities.
AbstractLight
 Inheritedcolor : uint
Defines the color of the light object.
AbstractLight
 Inheriteddebug : Boolean
Toggles debug mode: light object is visualised in the scene.
AbstractLight
 InheriteddiffuseBitmap : BitmapData
[read-only] Lightmap for diffuse intensity.
AbstractLight
 InheriteddiffuseColorTransform : ColorTransform
[read-only] Color transform used in cached shading materials for ambient intensities.
AbstractLight
 Inheritedparent : ObjectContainer3D
Defines the parent of the light.
AbstractLight
 InheritedspecularBitmap : BitmapData
[read-only] Lightmap for specular intensity.
AbstractLight
Protected Properties
 PropertyDefined By
 Inheritedini : 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
Public Methods
 MethodDefined By
  
AmbientLight3D(init:Object = null)
Creates a new AmbientLight3D object.
AmbientLight3D
  
[override] Duplicates the light object's properties to another AmbientLight3D object
AmbientLight3D
Property Detail
ambientproperty
ambient:Number

Defines a coefficient for the ambient light intensity.


Implementation
    public function get ambient():Number
    public function set ambient(value:Number):void
Constructor Detail
AmbientLight3D()Constructor
public function AmbientLight3D(init:Object = null)

Creates a new AmbientLight3D object.

Parameters
init:Object (default = null) — [optional] An initialisation object for specifying default instance properties.
####INIT####
Method Detail
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

Returns
AbstractLight — The new light instance with duplicated properties applied