Package | away3d.core.render |
Class | public class HitTestRenderer |
Inheritance | HitTestRenderer RendererBase |
See also
Property | Defined by | ||
---|---|---|---|
antiAlias : uint
The amount of anti-aliasing to use.
| RendererBase | ||
_bitmapData : BitmapData | HitTestRenderer | ||
hitRenderable : IRenderable
[read-only]
The IRenderable object directly under the hit-test position after a call to update.
| HitTestRenderer | ||
hitUV : Point [read-only]
The UV coordinate at the hit position.
| HitTestRenderer | ||
localHitPosition : Vector3D [read-only]
The coordinate in object space of the hit position.
| HitTestRenderer | ||
swapBackBuffer : Boolean
Indicates whether or not the back buffer should be swapped when rendering is complete.
| RendererBase |
Method | Defined by | ||
---|---|---|---|
HitTestRenderer
(renderMode:String = "auto")
Creates a new HitTestRenderer object.
| HitTestRenderer | ||
Updates the object information at the given position for the given visible objects.
| HitTestRenderer |
Method | Defined by | ||
---|---|---|---|
Performs the actual drawing of geometry to the target.
| HitTestRenderer | ||
executeRender(entityCollector:EntityCollector, target:TextureBase = null, surfaceSelector:int = 0, additionalClearMask:int = 7):void
Renders the potentially visible geometry to the back buffer or texture.
| RendererBase | ||
updateViewPort():void
Updates the viewport dimensions;
| RendererBase |
_bitmapData | property |
public var _bitmapData:BitmapData
hitRenderable | property |
hitRenderable:IRenderable
[read-only]The IRenderable object directly under the hit-test position after a call to update.
Implementation public function get hitRenderable():IRenderable
hitUV | property |
hitUV:Point
[read-only]The UV coordinate at the hit position.
Implementation public function get hitUV():Point
localHitPosition | property |
localHitPosition:Vector3D
[read-only]The coordinate in object space of the hit position.
Implementation public function get localHitPosition():Vector3D
HitTestRenderer | () | constructor |
public function HitTestRenderer(renderMode:String = "auto")
Parameters
renderMode:String (default = "auto ") — The render mode to use.
|
draw | () | method |
protected override function draw(entityCollector:EntityCollector):void
Performs the actual drawing of geometry to the target.
ParametersentityCollector:EntityCollector — The EntityCollector object containing the potentially visible geometry.
|
update | () | method |
public function update(ratioX:Number, ratioY:Number, entityCollector:EntityCollector):void
Updates the object information at the given position for the given visible objects.
ParametersratioX:Number — A ratio between 0 and 1 of the horizontal hit-test position relative to the viewport width.
|
|
ratioY:Number — A ratio between 0 and 1 of the vertical hit-test position relative to the viewport height.
|
|
entityCollector:EntityCollector — The EntityCollector object containing all potentially visible objects.
|