Material for solid color drawing
alpha:Number
[read-write]Implementation
public function get alpha():Number
public function set alpha(value:Number):void
public var color:uint
24 bit color value representing the material color
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.
visible:Boolean
[read-only]
Indicates whether the material is visible
Implementation
public function get visible():Boolean
public function ColorMaterial(color:* = null, init:Object = null)
Parameters
| color:* (default = null ) — A string, hex value or colorname representing the color of the material.
|
|
| init:Object (default = null ) — [optional] An initialisation object for specifying default instance properties.
|
####INIT####
public function clone():IFogMaterial
Duplicates the material's properties to another IFogMaterial
object
Returns
| IFogMaterial —
The new object instance with duplicated properties applied
|
public function renderFog(fog:DrawFog):void
Sends the material data coupled with data from the DrawFog primitive to the render session
Parameters
public function renderTriangle(tri:DrawTriangle):void
Sends data from the material coupled with data from the DrawTriangle
primitive to the render session.
Parameters
Click to go to the wiki page for ####WIKI####