Package | away3d.materials |
Interface | public interface IFogMaterial extends ITriangleMaterial, IMaterial |
Implementors | ColorMaterial |
Property | Defined by | ||
---|---|---|---|
alpha : Number
Determines the alpha value of the material
| IFogMaterial | ||
![]() | id : int
Unique identifier
| IMaterial | |
![]() | visible : Boolean
Indicates whether the material is visible
| IMaterial |
Method | Defined by | ||
---|---|---|---|
![]() |
addOnMaterialUpdate(listener:Function):void
Default method for adding a materialupdated event listener
| IMaterial | |
Duplicates the material's properties to another
IFogMaterial object
| IFogMaterial | ||
![]() |
removeOnMaterialUpdate(listener:Function):void
Default method for removing a materialupdated event listener
| IMaterial | |
Sends the material data coupled with data from the DrawFog primitive to the render session
| IFogMaterial | ||
![]() |
Sends data from the material coupled with data from the
DrawTriangle primitive to the render session. | ITriangleMaterial | |
![]() |
Called once per render loop when material is visible.
| IMaterial |
alpha | property |
alpha:Number
[read-write]Determines the alpha value of the material
Implementation public function get alpha():Number
public function set alpha(value:Number):void
clone | () | method |
public function clone():IFogMaterial
Duplicates the material's properties to another IFogMaterial
object
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
Parametersfog:DrawFog |