Package | com.mousman.as3.agal.light |
Class | public class MLight |
Inheritance | MLight ![]() |
Implements | IMLight |
Property | Defined By | ||
---|---|---|---|
diffuseColor : uint | MLight | ||
diffuseIntensity : Number | MLight | ||
matrix : Matrix3D | MLight | ||
position : Vector3D | MLight | ||
rotation : Vector3D [read-only] | MLight | ||
specularColor : uint | MLight | ||
specularIntensity : Number | MLight |
Method | Defined 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 |
diffuseColor | property |
diffuseColor:uint
public function get diffuseColor():uint
public function set diffuseColor(value:uint):void
diffuseIntensity | property |
diffuseIntensity:Number
public function get diffuseIntensity():Number
public function set diffuseIntensity(value:Number):void
matrix | property |
matrix:Matrix3D
public function get matrix():Matrix3D
public function set matrix(value:Matrix3D):void
position | property |
position:Vector3D
public function get position():Vector3D
public function set position(value:Vector3D):void
rotation | property |
rotation:Vector3D
[read-only] public function get rotation():Vector3D
specularColor | property |
specularColor:uint
public function get specularColor():uint
public function set specularColor(value:uint):void
specularIntensity | property |
specularIntensity:Number
public function get specularIntensity():Number
public function set specularIntensity(value:Number):void
MLight | () | Constructor |
public function MLight(diffuseColor:uint, diffuseIntensity:Number = 0.5, specularColor:uint = 0xffffff, specularIntensity:Number = 0.5)
diffuseColor:uint | |
diffuseIntensity:Number (default = 0.5 )
| |
specularColor:uint (default = 0xffffff )
| |
specularIntensity:Number (default = 0.5 )
|
setRotation | () | method |
public function setRotation(rx:Number, ry:Number, rz:Number):void
Parameters
rx:Number | |
ry:Number | |
rz:Number |