Packageaway3d.core.material
Classpublic class ShadingColorMaterial
InheritanceShadingColorMaterial Inheritance CenterLightingMaterial

Solid color material that takes lighting into considiration

Public Properties
 PropertyDefined by
 Inheritedak : Number = 20
CenterLightingMaterial
  alpha : Number
ShadingColorMaterial
 Inheritedamb : Number
CenterLightingMaterial
  ambient : int
ShadingColorMaterial
 Inheritedambient_brightness : Number = 1
CenterLightingMaterial
 Inheritedblue : Number
CenterLightingMaterial
 Inheritedc0x : Number
CenterLightingMaterial
 Inheritedc0y : Number
CenterLightingMaterial
 Inheritedc0z : Number
CenterLightingMaterial
 Inheritedcx : Number
CenterLightingMaterial
 Inheritedcy : Number
CenterLightingMaterial
 Inheritedcz : Number
CenterLightingMaterial
 Inheritedd1x : Number
CenterLightingMaterial
 Inheritedd1y : Number
CenterLightingMaterial
 Inheritedd1z : Number
CenterLightingMaterial
 Inheritedd2x : Number
CenterLightingMaterial
 Inheritedd2y : Number
CenterLightingMaterial
 Inheritedd2z : Number
CenterLightingMaterial
 Inheriteddf : Number
CenterLightingMaterial
 Inheriteddfx : Number
CenterLightingMaterial
 Inheriteddfy : Number
CenterLightingMaterial
 Inheriteddfz : Number
CenterLightingMaterial
 Inheriteddiff : Number
CenterLightingMaterial
  diffuse : int
ShadingColorMaterial
 Inheriteddiffuse_brightness : Number = 1
CenterLightingMaterial
 Inheriteddraw_fall : Boolean = false
CenterLightingMaterial
 Inheriteddraw_fall_k : Number = 1
CenterLightingMaterial
 Inheriteddraw_normal : Boolean = false
CenterLightingMaterial
 Inheriteddraw_reflect : Boolean = false
CenterLightingMaterial
 Inheriteddraw_reflect_k : Number = 1
CenterLightingMaterial
 Inheritedfade : Number
CenterLightingMaterial
  fb : int
ShadingColorMaterial
 Inheritedffx : Number
CenterLightingMaterial
 Inheritedffy : Number
CenterLightingMaterial
 Inheritedffz : Number
CenterLightingMaterial
  fg : int
ShadingColorMaterial
 Inheritedfocus : Number
CenterLightingMaterial
  fr : int
ShadingColorMaterial
 Inheritedfx : Number
CenterLightingMaterial
 Inheritedfy : Number
CenterLightingMaterial
 Inheritedfz : Number
CenterLightingMaterial
 Inheritedgraphics : Graphics
CenterLightingMaterial
 Inheritedgreen : Number
CenterLightingMaterial
 Inheritedkab : Number
CenterLightingMaterial
 Inheritedkag : Number
CenterLightingMaterial
 Inheritedkar : Number
CenterLightingMaterial
 Inheritedkdb : Number
CenterLightingMaterial
 Inheritedkdg : Number
CenterLightingMaterial
 Inheritedkdr : Number
CenterLightingMaterial
 Inheritedksb : Number
CenterLightingMaterial
 Inheritedksg : Number
CenterLightingMaterial
 Inheritedksr : Number
CenterLightingMaterial
 Inheritedncx : Number
CenterLightingMaterial
 Inheritedncy : Number
CenterLightingMaterial
 Inheritedncz : Number
CenterLightingMaterial
 Inheritednf : Number
CenterLightingMaterial
 Inheritedpa : Number
CenterLightingMaterial
 Inheritedpb : Number
CenterLightingMaterial
 Inheritedpc : Number
CenterLightingMaterial
 Inheritedpdd : Number
CenterLightingMaterial
 Inheritedprojection : Projection
CenterLightingMaterial
 Inheritedred : Number
CenterLightingMaterial
 Inheritedrfx : Number
CenterLightingMaterial
 Inheritedrfy : Number
CenterLightingMaterial
 Inheritedrfz : Number
CenterLightingMaterial
 Inheritedrx : Number
CenterLightingMaterial
 Inheritedry : Number
CenterLightingMaterial
 Inheritedrz : Number
CenterLightingMaterial
 Inheritedsession : RenderSession
CenterLightingMaterial
  sfb : int
ShadingColorMaterial
  sfg : int
ShadingColorMaterial
  sfr : int
ShadingColorMaterial
 Inheritedsource : PointLightSource
CenterLightingMaterial
 Inheritedspec : Number
CenterLightingMaterial
  specular : int
ShadingColorMaterial
 Inheritedspecular_brightness : Number = 1
CenterLightingMaterial
  static : Boolean
ShadingColorMaterial
 Inheritedsum : Number
CenterLightingMaterial
 Inheritedv0 : ScreenVertex
CenterLightingMaterial
 Inheritedv0p : Number
CenterLightingMaterial
 Inheritedv0x : Number
CenterLightingMaterial
 Inheritedv0y : Number
CenterLightingMaterial
 Inheritedv0z : Number
CenterLightingMaterial
 Inheritedv1 : ScreenVertex
CenterLightingMaterial
 Inheritedv1p : Number
CenterLightingMaterial
 Inheritedv1x : Number
CenterLightingMaterial
 Inheritedv1y : Number
CenterLightingMaterial
 Inheritedv1z : Number
CenterLightingMaterial
 Inheritedv2 : ScreenVertex
CenterLightingMaterial
 Inheritedv2p : Number
CenterLightingMaterial
 Inheritedv2x : Number
CenterLightingMaterial
 Inheritedv2y : Number
CenterLightingMaterial
 Inheritedv2z : Number
CenterLightingMaterial
  visible : Boolean
[read-only]
ShadingColorMaterial
 Inheritedzoom : Number
CenterLightingMaterial
Public Methods
 MethodDefined by
  
ShadingColorMaterial
(init:Object = null)
ShadingColorMaterial
  
renderTri(tri:DrawTriangle, session:RenderSession, kar:Number, kag:Number, kab:Number, kdr:Number, kdg:Number, kdb:Number, ksr:Number, ksg:Number, ksb:Number):void
ShadingColorMaterial
 Inherited
CenterLightingMaterial
 Inherited
CenterLightingMaterial
Property detail
alphaproperty
public var alpha:Number
ambientproperty 
public var ambient:int
diffuseproperty 
public var diffuse:int
fbproperty 
public var fb:int
fgproperty 
public var fg:int
frproperty 
public var fr:int
sfbproperty 
public var sfb:int
sfgproperty 
public var sfg:int
sfrproperty 
public var sfr:int
specularproperty 
public var specular:int
staticproperty 
public var static:Boolean
visibleproperty 
visible:Boolean  [read-only]Implementation
    public function get visible():Boolean
Constructor detail
ShadingColorMaterial()constructor
public function ShadingColorMaterial(init:Object = null)Parameters
init:Object (default = null)
Init Parameters
Method detail
renderTri()method
public override function renderTri(tri:DrawTriangle, session:RenderSession, kar:Number, kag:Number, kab:Number, kdr:Number, kdg:Number, kdb:Number, ksr:Number, ksg:Number, ksb:Number):void Parameters
tri:DrawTriangle
 
session:RenderSession
 
kar:Number
 
kag:Number
 
kab:Number
 
kdr:Number
 
kdg:Number
 
kdb:Number
 
ksr:Number
 
ksg:Number
 
ksb:Number
Wiki link
Click to go to the wiki page for 'away3d.core.material.ShadingColorMaterial'

Code examples

Comments