Packageaway3d.core.material
Classpublic class ColorMaterial
ImplementsITriangleMaterial

Material for solid color drawing with face's border outlining

Public Properties
 PropertyDefined by
  alpha : Number
ColorMaterial
  color : uint
ColorMaterial
  visible : Boolean
[read-only]
ColorMaterial
Public Methods
 MethodDefined by
  
ColorMaterial
(color:* = null, init:Object = null)
ColorMaterial
  
ColorMaterial
Property detail
alphaproperty
public var alpha:Number
colorproperty 
public var color:uint
visibleproperty 
visible:Boolean  [read-only]Implementation
    public function get visible():Boolean
Constructor detail
ColorMaterial()constructor
public function ColorMaterial(color:* = null, init:Object = null)Parameters
color:* (default = null)
 
init:Object (default = null)
Init Parameters
Method detail
renderTriangle()method
public function renderTriangle(tri:DrawTriangle, session:RenderSession):void Parameters
tri:DrawTriangle
 
session:RenderSession
Wiki link
Click to go to the wiki page for 'away3d.core.material.ColorMaterial'

Code examples

Comments