Package | org.papervision3d.materials.special |
Class | public class BitmapParticleMaterial |
Inheritance | BitmapParticleMaterial ParticleMaterial MaterialObject3D flash.events.EventDispatcher |
Implements | IParticleDrawer |
Method | Defined by | ||
---|---|---|---|
BitmapParticleMaterial(bitmap:BitmapData)
| BitmapParticleMaterial | ||
Creates a copy of the material.
| MaterialObject3D | ||
copy(material:MaterialObject3D):void
Copies the properties of a material.
| MaterialObject3D | ||
BitmapParticleMaterial | |||
drawTriangle(face3D:Triangle3D, graphics:Graphics, renderSessionData:RenderSessionData, altBitmap:BitmapData = null, altUV:Matrix = null):void
drawTriangle();
Draws the triangle to screen.
| MaterialObject3D | ||
registerObject(displayObject3D:DisplayObject3D):void
| MaterialObject3D | ||
toString():String
Returns a string value representing the material properties.
| MaterialObject3D | ||
unregisterObject(displayObject3D:DisplayObject3D):void
| MaterialObject3D | ||
updateBitmap():void
Updates the BitmapData bitmap from the given texture.
| MaterialObject3D |
BitmapParticleMaterial | () | constructor |
public function BitmapParticleMaterial(bitmap:BitmapData)
Parameters
bitmap:BitmapData |
drawParticle | () | method |
public override function drawParticle(particle:Particle, graphics:Graphics, renderSessionData:RenderSessionData):void
Parameters
particle:Particle |
|
graphics:Graphics |
|
renderSessionData:RenderSessionData |