public function WireFramePass(w:int, h:int)
Parameters
| w:int — The size of the depth map texture to render to.
|
|
| h:int — The amount by which the rendered object will be inflated, to prevent depth map rounding errors.
|
Init Parameters
arcane override function activate(context:Context3D, contextIndex:uint, camera:Camera3D):void
Parameters
| context:Context3D |
|
| contextIndex:uint |
|
| camera:Camera3D |
arcane override function deactivate(context:Context3D):void
Parameters
arcane override function getFragmentCode():String
Returns
arcane override function getVertexCode():String
Returns
public function projectionMatrix(camera:Camera3D):Matrix3D
Parameters
Returns
arcane override function render(renderable:IRenderable, context:Context3D, contextIndex:uint, camera:Camera3D):void
Renders an object to the current render target.
Parameters
| renderable:IRenderable — The IRenderable object to render.
|
|
| context:Context3D — The context which is performing the rendering.
|
|
| contextIndex:uint — The camera from which the scene is viewed.
|
|
| camera:Camera3D — The lights which influence the rendered scene.
|
protected override function updateProgram(context:Context3D, contextIndex:uint, polyOffsetReg:String = null):void
Compiles the shader program.
Parameters
| context:Context3D — The context for which to compile the shader program.
|
|
| contextIndex:uint — An optional register that contains an amount by which to inflate the model (used in single object depth map rendering).
|
|
| polyOffsetReg:String (default = null )
|
protected static const DEG2RAD_2:Number = 0.008726646259971648
protected static const FRONT_VECTOR:Vector
protected static const ONE_VECTOR:Vector
protected static const ZERO_VECTOR:Vector