Packageaway3d.materials
Classpublic class PhongColorMaterial
InheritancePhongColorMaterial Inheritance CompositeMaterial

Public Properties
 PropertyDefined by
  ambientShader : AmbientShader
PhongColorMaterial
 InheritedblendMode : String
CompositeMaterial
  _blue : Number
PhongColorMaterial
  _color : uint
PhongColorMaterial
  color : uint
PhongColorMaterial
 InheritedcolorTransform : ColorTransform
CompositeMaterial
  diffusePhongShader : DiffusePhongShader
PhongColorMaterial
  _green : Number
PhongColorMaterial
 Inheritedmaterial : ILayerMaterial
CompositeMaterial
 Inheritedmaterials : Array
CompositeMaterial
  phongShader : CompositeMaterial
PhongColorMaterial
  _red : Number
PhongColorMaterial
 Inherited_session : AbstractRenderSession
CompositeMaterial
  _shininess : Number
PhongColorMaterial
  shininess : Number
PhongColorMaterial
 Inherited_source : Object3D
CompositeMaterial
  _specular : Number
PhongColorMaterial
  specular : Number
PhongColorMaterial
  specularPhongShader : SpecularPhongShader
PhongColorMaterial
 Inherited_sprite : Sprite
CompositeMaterial
 Inherited_spriteDictionary : Dictionary
CompositeMaterial
 Inheritedvisible : Boolean
CompositeMaterial
Public Methods
 MethodDefined by
  
PhongColorMaterial
(init:Object = null)
PhongColorMaterial
 Inherited
CompositeMaterial
 Inherited
renderFace(face:Face, containerRect:Rectangle, parentFaceVO:FaceVO):FaceVO
CompositeMaterial
 Inherited
renderLayer(tri:DrawTriangle, layer:Sprite, level:int):void
CompositeMaterial
 Inherited
CompositeMaterial
  
PhongColorMaterial
 Inherited
updateMaterial(source:Object3D, view:View3D):void
CompositeMaterial
Property detail
ambientShaderproperty
public var ambientShader:AmbientShader
_blueproperty 
public var _blue:Number
_colorproperty 
public var _color:uint
colorproperty 
color:uint  [read-write]Implementation
    public function get color():uint
    public function set color(value:uint):void
diffusePhongShaderproperty 
public var diffusePhongShader:DiffusePhongShader
_greenproperty 
public var _green:Number
phongShaderproperty 
public var phongShader:CompositeMaterial
_redproperty 
public var _red:Number
_shininessproperty 
public var _shininess:Number
shininessproperty 
shininess:Number  [read-write]Implementation
    public function get shininess():Number
    public function set shininess(value:Number):void
_specularproperty 
public var _specular:Number
specularproperty 
specular:Number  [read-write]Implementation
    public function get specular():Number
    public function set specular(value:Number):void
specularPhongShaderproperty 
public var specularPhongShader:SpecularPhongShader
Constructor detail
PhongColorMaterial()constructor
public function PhongColorMaterial(init:Object = null)Parameters
init:Object (default = null)
Init Parameters
Method detail
setColorTransform()method
public function setColorTransform():void
Wiki link
Click to go to the wiki page for 'away3d.materials.PhongColorMaterial'

Code examples

Comments