Packagecom.yogurt3d.core.materials
Classpublic class MaterialParticle
InheritanceMaterialParticle Inheritance Material Inheritance EngineObject Inheritance Object



Public Properties
 PropertyDefined By
 InheritedambientColor : Color
Material
  color : uint
MaterialParticle
 Inheritedculling : String
Material
 InheriteddiffuseColor : Color
Material
 InheriteddoubleSided : Boolean
Material
 InheritedemissiveColor : Color
Material
 InheritedonOpacityChanged : Signal
Material
  opacity : Number
[override]
MaterialParticle
 Inheritedshaders : Vector.<Shader>
Material
 InheritedspecularColor : Color
Material
 InheritedsystemID : String
[read-only] Automatically assigned id.
EngineObject
  texture : TextureMap
MaterialParticle
 InheriteduserID : String
Identification string can be assigned by developer to identify objects.
EngineObject
Public Methods
 MethodDefined By
  
MaterialParticle(_texture:TextureMap = null, _color:uint = 0xFF0000, _opacity:Number = 1.0, _initInternals:Boolean = true)
MaterialParticle
  
[override]
MaterialParticle
 Inherited
dispose():void
[override]
Material
 Inherited
[override]
Material
 Inherited
disposeGPU():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
 Inherited
[override]
Material
 Inherited
[override]
Material
Property Detail
colorproperty
color:uint


Implementation
    public function get color():uint
    public function set color(value:uint):void
opacityproperty 
opacity:Number[override]


Implementation
    public function get opacity():Number
    public function set opacity(value:Number):void
textureproperty 
texture:TextureMap


Implementation
    public function get texture():TextureMap
    public function set texture(value:TextureMap):void
Constructor Detail
MaterialParticle()Constructor
public function MaterialParticle(_texture:TextureMap = null, _color:uint = 0xFF0000, _opacity:Number = 1.0, _initInternals:Boolean = true)



Parameters
_texture:TextureMap (default = null)
 
_color:uint (default = 0xFF0000)
 
_opacity:Number (default = 1.0)
 
_initInternals:Boolean (default = true)
Method Detail
clone()method
override public function clone():IEngineObject

Returns
IEngineObject