Packageaway3d.materials
Interfacepublic interface ITriangleMaterial extends IMaterial
SubinterfacesIFogMaterial
ImplementorsAnimatedBitmapMaterial, BitmapFileMaterial, BitmapMaskMaterial, BitmapMaterial, BitmapMaterialContainer, CenterLightingMaterial, ColorMaterial, CompositeMaterial, EnviroColorMaterial, MovieMaterial, TransformBitmapMaterial, WireColorMaterial, WireframeMaterial

Interface for materials that are capable of rendering triangle faces.

Public Properties
 PropertyDefined by
 Inheritedvisible : Boolean
Indicates whether the material is visible
IMaterial
Public Methods
 MethodDefined by
 Inherited
addOnMaterialUpdate(listener:Function):void
Default method for adding a materialupdated event listener
IMaterial
 Inherited
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
 Inherited
updateMaterial(source:Object3D, view:View3D):void
Called once per render loop when material is visible.
IMaterial
Method detail
renderTriangle()method
public function renderTriangle(tri:DrawTriangle):void

Sends data from the material coupled with data from the DrawTriangle primitive to the render session.

Parameters
tri:DrawTriangle
Wiki link
Click to go to the wiki page for ####WIKI####

Code examples

Comments