Packagefrocessing.f3d.materials
Classpublic class F3DColorSetMaterial
InheritanceF3DColorSetMaterial Inheritance F3DEmptyMaterial

3D Material Color Set



Public Properties
 PropertyDefined by
  alphas : Array
F3DColorSetMaterial
  backFace : Boolean
[write-only]
F3DColorSetMaterial
  backFaces : Array
F3DColorSetMaterial
  colors : Array
F3DColorSetMaterial
 Inheritedvisible : Boolean
model visible
F3DEmptyMaterial
  visibles : Array
F3DColorSetMaterial
Protected Properties
 PropertyDefined by
 Inherited_backface : Boolean
F3DEmptyMaterial
 Inherited_visible : Boolean
F3DEmptyMaterial
Public Methods
 MethodDefined by
  
F3DColorSetMaterial(... colors_)
F3DColorSetMaterial
  
draw(g:F3DGraphics, model:F3DModel):void
draw model
F3DColorSetMaterial
  
setColor(index:uint, color:uint, alpha:Number = 1.0, visible_:Boolean = true, backface_:Boolean = false):void
F3DColorSetMaterial
Property detail
alphasproperty
public var alphas:Array
backFaceproperty 
backFace:Boolean  [write-only]

Implementation
    public function set backFace(value:Boolean):void
backFacesproperty 
public var backFaces:Array
colorsproperty 
public var colors:Array
visiblesproperty 
public var visibles:Array
Constructor detail
F3DColorSetMaterial()constructor
public function F3DColorSetMaterial(... colors_)

Parameters
... colors_
Method detail
draw()method
public override function draw(g:F3DGraphics, model:F3DModel):void

draw model

Parameters
g:F3DGraphics
 
model:F3DModel
setColor()method 
public function setColor(index:uint, color:uint, alpha:Number = 1.0, visible_:Boolean = true, backface_:Boolean = false):void

Parameters
index:uint
 
color:uint
 
alpha:Number (default = 1.0)
 
visible_:Boolean (default = true)
 
backface_:Boolean (default = false)