| Package | org.papervision3d.materials |
| Class | public class InteractiveShadedColorMaterial |
| Inheritance | InteractiveShadedColorMaterial ShadedColorMaterial MaterialObject3D flash.events.EventDispatcher |
| Method | Defined by | ||
|---|---|---|---|
|
InteractiveShadedColorMaterial(fillColor:uint, fillAlpha:Number = 1.0)
| InteractiveShadedColorMaterial | ||
![]() |
Creates a copy of the material.
| MaterialObject3D | |
![]() |
copy(material:MaterialObject3D):void
Copies the properties of a material.
| MaterialObject3D | |
|
drawFace3D(instance:DisplayObject3D, face3D:Face3D, graphics:Graphics, v0:Vertex2D, v1:Vertex2D, v2:Vertex2D):int
drawFace3D
| InteractiveShadedColorMaterial | ||
![]() |
toString():String
Returns a string value representing the material properties.
| MaterialObject3D | |
![]() |
updateBitmap():void
Updates the BitmapData bitmap from the given texture.
| MaterialObject3D | |
| InteractiveShadedColorMaterial | () | constructor |
public function InteractiveShadedColorMaterial(fillColor:uint, fillAlpha:Number = 1.0)Parameters
fillColor:uint |
|
fillAlpha:Number (default = 1.0) |
| drawFace3D | () | method |
public override function drawFace3D(instance:DisplayObject3D, face3D:Face3D, graphics:Graphics, v0:Vertex2D, v1:Vertex2D, v2:Vertex2D):intdrawFace3D
Parametersinstance:DisplayObject3D |
|
face3D:Face3D |
|
graphics:Graphics |
|
v0:Vertex2D |
|
v1:Vertex2D |
|
v2:Vertex2D |
int |