| Package | org.papervision3d.materials.shadematerials |
| Class | public class PhongMaterial |
| Inheritance | PhongMaterial EnvMapMaterial AbstractSmoothShadeMaterial AbstractLightShadeMaterial TriangleMaterial MaterialObject3D flash.events.EventDispatcher |
| Method | Defined by | ||
|---|---|---|---|
|
PhongMaterial(light:LightObject3D, lightColor:uint, ambientColor:uint, specularLevel:uint)
| PhongMaterial | ||
![]() |
Creates a copy of the material.
| MaterialObject3D | |
![]() |
copy(material:MaterialObject3D):void
Copies the properties of a material.
| MaterialObject3D | |
![]() |
destroy():void
| MaterialObject3D | |
![]() | TriangleMaterial | ||
![]() |
drawTriangle(tri:RenderTriangle, graphics:Graphics, renderSessionData:RenderSessionData, altBitmap:BitmapData = null, altUV:Matrix = null):void
| EnvMapMaterial | |
![]() |
getObjectList():Dictionary
Returns a list of
DisplayObject3D objects registered with the material. | MaterialObject3D | |
![]() |
isUpdateable():Boolean
| MaterialObject3D | |
![]() |
registerObject(displayObject3D:DisplayObject3D):void
Registers the
DisplayObject3D
| 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 | |
| PhongMaterial | () | constructor |
public function PhongMaterial(light:LightObject3D, lightColor:uint, ambientColor:uint, specularLevel:uint)Parameters
light:LightObject3D |
|
lightColor:uint |
|
ambientColor:uint |
|
specularLevel:uint |