Packagealternativa.engine3d.materials
Classpublic class FillMaterial
InheritanceFillMaterial Inheritance Material Inheritance Object

The materiall fills surface with solid color in light-independent manner. Can draw a Skin with no more than 41 Joints per surface. See Skin.divide() for more details.

See also

alternativa.engine3d.objects.Skin.divide()


Public Properties
 PropertyDefined By
  alpha : Number = 1
Transparency
FillMaterial
  color : uint
Color.
FillMaterial
 Inheritedname : String
Name of the material
Material
Public Methods
 MethodDefined By
  
FillMaterial(color:uint = 0x7F7F7F, alpha:Number = 1)
Creates a new FillMaterial instance.
FillMaterial
  
[override]
FillMaterial
 Inherited
getResources(resourceType:Class = null):Vector.<Resource>
Gather resources used by material for uploading into context3D.
Material
Protected Methods
 MethodDefined By
 Inherited
Duplicates basic properties.
Material
Property Detail
alphaproperty
public var alpha:Number = 1

Transparency

colorproperty 
color:uint

Color.


Implementation
    public function get color():uint
    public function set color(value:uint):void
Constructor Detail
FillMaterial()Constructor
public function FillMaterial(color:uint = 0x7F7F7F, alpha:Number = 1)

Creates a new FillMaterial instance.

Parameters
color:uint (default = 0x7F7F7F) — Color .
 
alpha:Number (default = 1) — Transparency.
Method Detail
clone()method
override public function clone():Material

Returns
Material