Package | org.papervision3d.materials.shadematerials |
Class | public class CellMaterial |
Inheritance | CellMaterial EnvMapMaterial AbstractSmoothShadeMaterial AbstractLightShadeMaterial TriangleMaterial MaterialObject3D flash.events.EventDispatcher |
Method | Defined by | ||
---|---|---|---|
CellMaterial(light:LightObject3D, color_1:int, color_2:int, steps:int)
| CellMaterial | ||
Creates a copy of the material.
| MaterialObject3D | ||
copy(material:MaterialObject3D):void
Copies the properties of a material.
| MaterialObject3D | ||
drawTriangle(face3D:Triangle3D, graphics:Graphics, renderSessionData:RenderSessionData, altBitmap:BitmapData = null, altUV:Matrix = null):void
| EnvMapMaterial | ||
registerObject(displayObject3D:DisplayObject3D):void
| MaterialObject3D | ||
toString():String
Returns a string value representing the material properties.
| MaterialObject3D | ||
unregisterObject(displayObject3D:DisplayObject3D):void
| MaterialObject3D | ||
updateBeforeRender(renderSessionData:RenderSessionData):void
| AbstractLightShadeMaterial | ||
updateBitmap():void
Updates the BitmapData bitmap from the given texture.
| MaterialObject3D |
CellMaterial | () | constructor |
public function CellMaterial(light:LightObject3D, color_1:int, color_2:int, steps:int)
Parameters
light:LightObject3D |
|
color_1:int |
|
color_2:int |
|
steps:int |