Packageaway3d.materials
Interfacepublic interface IFogMaterial extends ITriangleMaterial, IMaterial
ImplementorsColorMaterial

Interface for fog filter materials

Public Properties
 PropertyDefined by
  alpha : Number
Determines the alpha value of the material
IFogMaterial
 Inheritedvisible : Boolean
Indicates whether the material is visible
IMaterial
Public Methods
 MethodDefined by
  
Duplicates the material's properties to another IFogMaterial object
IFogMaterial
  
renderFog(fog:DrawFog):void
Sends the material data coupled with data from the DrawFog primitive to the render session
IFogMaterial
 Inherited
Sends data from the material coupled with data from the DrawTriangle primitive to the render session.
ITriangleMaterial
Property detail
alphaproperty
alpha:Number  [read-write]

Determines the alpha value of the material

Implementation
    public function get alpha():Number
    public function set alpha(value:Number):void
Method detail
clone()method
public function clone():IFogMaterial

Duplicates the material's properties to another IFogMaterial object

Returns
IFogMaterial — The new object instance with duplicated properties applied
renderFog()method 
public function renderFog(fog:DrawFog):void

Sends the material data coupled with data from the DrawFog primitive to the render session

Parameters
fog:DrawFog
Wiki link
Click to go to the wiki page for ####WIKI####

Code examples

Comments