Property | Defined By | ||
---|---|---|---|
elementVO : ElementVO [read-only]
| HitManager | ||
material : Material [read-only]
| HitManager | ||
object : Object3D [read-only]
| HitManager | ||
sceneX : Number [read-only]
| HitManager | ||
sceneY : Number [read-only]
| HitManager | ||
sceneZ : Number [read-only]
| HitManager | ||
screenX : Number [read-only]
| HitManager | ||
screenY : Number [read-only]
| HitManager | ||
screenZ : Number [read-only]
| HitManager | ||
uv : UV [read-only]
| HitManager | ||
view : View3D [read-only]
| HitManager |
Method | Defined By | ||
---|---|---|---|
HitManager(view:View3D) | HitManager | ||
findHit(session:AbstractSession, x:Number, y:Number):void
Finds the object that is rendered under a certain view coordinate. | HitManager | ||
getMouseEvent(type:String):MouseEvent3D
Returns a 3d mouse event object populated with the properties from the hit point. | HitManager |
elementVO | property |
material | property |
object | property |
sceneX | property |
sceneX:Number
[read-only]
public function get sceneX():Number
sceneY | property |
sceneY:Number
[read-only]
public function get sceneY():Number
sceneZ | property |
sceneZ:Number
[read-only]
public function get sceneZ():Number
screenX | property |
screenX:Number
[read-only]
public function get screenX():Number
screenY | property |
screenY:Number
[read-only]
public function get screenY():Number
screenZ | property |
screenZ:Number
[read-only]
public function get screenZ():Number
uv | property |
view | property |
HitManager | () | Constructor |
findHit | () | method |
public function findHit(session:AbstractSession, x:Number, y:Number):void
Finds the object that is rendered under a certain view coordinate. Used for mouse click events.
Parameters
session:AbstractSession | |
x:Number | |
y:Number |
getMouseEvent | () | method |
public function getMouseEvent(type:String):MouseEvent3D
Returns a 3d mouse event object populated with the properties from the hit point.
Parameters
type:String |
MouseEvent3D |