Packagecom.yogurt3d.core.materials.base
Classpublic class Material
InheritanceMaterial Inheritance EngineObject Inheritance Object
Subclasses MaterialDiffuseFill, MaterialDiffuseTexture, MaterialEnvMapDiffuseFill, MaterialEnvMapDiffuseTexture, MaterialEnvMapping, MaterialEnvMappingSpecular, MaterialFill, MaterialSkyBox, MaterialSpecularFill, MaterialSpecularTexture, MaterialTexture



Public Properties
 PropertyDefined By
  ambientColor : Color
Material
  culling : String
Material
  diffuseColor : Color
Material
  doubleSided : Boolean
Material
  emissiveColor : Color
Material
  opacity : Number
Material
  shaders : Vector.<Shader>
Material
  specularColor : Color
Material
 InheritedsystemID : String
[read-only] Automatically assigned id.
EngineObject
 InheriteduserID : String
Identification string can be assigned by developer to identify objects.
EngineObject
Public Methods
 MethodDefined By
  
Material(_initInternals:Boolean = true)
Material
 Inherited
Creates new clone object.
EngineObject
  
dispose():void
[override]
Material
 Inherited
Removes all external referances and clears internals.
EngineObject
 Inherited
renew():void
Renews object internals and resets properties of object.
EngineObject
 Inherited
toString():String
Returns a string identifier on this object
EngineObject
Protected Methods
 MethodDefined By
  
[override]
Material
  
[override]
Material
Property Detail
ambientColorproperty
ambientColor:Color


Implementation
    public function get ambientColor():Color
    public function set ambientColor(value:Color):void
cullingproperty 
culling:String


Implementation
    public function get culling():String
    public function set culling(value:String):void
diffuseColorproperty 
diffuseColor:Color


Implementation
    public function get diffuseColor():Color
    public function set diffuseColor(value:Color):void
doubleSidedproperty 
doubleSided:Boolean


Implementation
    public function get doubleSided():Boolean
    public function set doubleSided(value:Boolean):void
emissiveColorproperty 
emissiveColor:Color


Implementation
    public function get emissiveColor():Color
    public function set emissiveColor(value:Color):void
m_ambientColorproperty 
YOGURT3D_INTERNAL var m_ambientColor:Color

m_cullingproperty 
YOGURT3D_INTERNAL var m_culling:String

m_diffuseColorproperty 
YOGURT3D_INTERNAL var m_diffuseColor:Color

m_doubleSidedproperty 
YOGURT3D_INTERNAL var m_doubleSided:Boolean

m_emissiveColorproperty 
YOGURT3D_INTERNAL var m_emissiveColor:Color

m_opacityproperty 
YOGURT3D_INTERNAL var m_opacity:Number = 1

m_shadersproperty 
YOGURT3D_INTERNAL var m_shaders:Vector.<Shader>

m_specularColorproperty 
YOGURT3D_INTERNAL var m_specularColor:Color

opacityproperty 
opacity:Number


Implementation
    public function get opacity():Number
    public function set opacity(value:Number):void
shadersproperty 
shaders:Vector.<Shader>


Implementation
    public function get shaders():Vector.<Shader>
    public function set shaders(value:Vector.<Shader>):void
specularColorproperty 
specularColor:Color


Implementation
    public function get specularColor():Color
    public function set specularColor(value:Color):void
Constructor Detail
Material()Constructor
public function Material(_initInternals:Boolean = true)



Parameters
_initInternals:Boolean (default = true)
Method Detail
dispose()method
override public function dispose():void

initInternals()method 
override protected function initInternals():void

trackObject()method 
override protected function trackObject():void