Package | away3d.materials |
Interface | public interface ITriangleMaterial extends IMaterial |
Subinterfaces | IFogMaterial |
Implementors | AnimatedBitmapMaterial, BitmapFileMaterial, BitmapMaterial, BitmapMaterialContainer, CenterLightingMaterial, ColorMaterial, CompositeMaterial, EnviroColorMaterial, MovieMaterial, TransformBitmapMaterial, WireColorMaterial, WireframeMaterial |
Method | Defined by | ||
---|---|---|---|
![]() |
addOnMaterialUpdate(listener:Function):void
Default method for adding a materialupdated event listener
| IMaterial | |
![]() |
removeOnMaterialUpdate(listener:Function):void
Default method for removing a materialupdated event listener
| IMaterial | |
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 |
renderTriangle | () | method |
public function renderTriangle(tri:DrawTriangle):void
Sends data from the material coupled with data from the DrawTriangle
primitive to the render session.
tri:DrawTriangle |