Package | away3d.core.utils |
Class | public class HitManager |
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 | |||
Finds the object that is rendered under a certain view coordinate.
| HitManager | ||
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]Implementation
public function get sceneX():Number
sceneY | property |
sceneY:Number
[read-only]Implementation
public function get sceneY():Number
sceneZ | property |
sceneZ:Number
[read-only]Implementation
public function get sceneZ():Number
screenX | property |
screenX:Number
[read-only]Implementation
public function get screenX():Number
screenY | property |
screenY:Number
[read-only]Implementation
public function get screenY():Number
screenZ | property |
screenZ:Number
[read-only]Implementation
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.
Parameterssession: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.
Parameterstype:String |
MouseEvent3D |