Packagecom.mousman.as3.agal.light
Classpublic class MLight
InheritanceMLight Inheritance Object
Implements IMLight

...



Public Properties
 PropertyDefined By
  diffuseColor : uint
MLight
  diffuseIntensity : Number
MLight
  matrix : Matrix3D
MLight
  position : Vector3D
MLight
  rotation : Vector3D
[read-only]
MLight
  specularColor : uint
MLight
  specularIntensity : Number
MLight
Public Methods
 MethodDefined By
  
MLight(diffuseColor:uint, diffuseIntensity:Number = 0.5, specularColor:uint = 0xffffff, specularIntensity:Number = 0.5)
MLight
  
setRotation(rx:Number, ry:Number, rz:Number):void
MLight
Property Detail
diffuseColorproperty
diffuseColor:uint


Implementation
    public function get diffuseColor():uint
    public function set diffuseColor(value:uint):void
diffuseIntensityproperty 
diffuseIntensity:Number


Implementation
    public function get diffuseIntensity():Number
    public function set diffuseIntensity(value:Number):void
matrixproperty 
matrix:Matrix3D


Implementation
    public function get matrix():Matrix3D
    public function set matrix(value:Matrix3D):void
positionproperty 
position:Vector3D


Implementation
    public function get position():Vector3D
    public function set position(value:Vector3D):void
rotationproperty 
rotation:Vector3D  [read-only]


Implementation
    public function get rotation():Vector3D
specularColorproperty 
specularColor:uint


Implementation
    public function get specularColor():uint
    public function set specularColor(value:uint):void
specularIntensityproperty 
specularIntensity:Number


Implementation
    public function get specularIntensity():Number
    public function set specularIntensity(value:Number):void
Constructor Detail
MLight()Constructor
public function MLight(diffuseColor:uint, diffuseIntensity:Number = 0.5, specularColor:uint = 0xffffff, specularIntensity:Number = 0.5)



Parameters
diffuseColor:uint
 
diffuseIntensity:Number (default = 0.5)
 
specularColor:uint (default = 0xffffff)
 
specularIntensity:Number (default = 0.5)
Method Detail
setRotation()method
public function setRotation(rx:Number, ry:Number, rz:Number):void

Parameters

rx:Number
 
ry:Number
 
rz:Number