Packageaway3d.core.utils
Classpublic class HitManager
InheritanceHitManager Inheritance Object



Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined By
  
HitManager
  
findHit(session:AbstractSession, x:Number, y:Number):void
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
Property Detail
elementVOproperty
elementVO:ElementVO  [read-only]


Implementation
    public function get elementVO():ElementVO
materialproperty 
material:Material  [read-only]


Implementation
    public function get material():Material
objectproperty 
object:Object3D  [read-only]


Implementation
    public function get object():Object3D
sceneXproperty 
sceneX:Number  [read-only]


Implementation
    public function get sceneX():Number
sceneYproperty 
sceneY:Number  [read-only]


Implementation
    public function get sceneY():Number
sceneZproperty 
sceneZ:Number  [read-only]


Implementation
    public function get sceneZ():Number
screenXproperty 
screenX:Number  [read-only]


Implementation
    public function get screenX():Number
screenYproperty 
screenY:Number  [read-only]


Implementation
    public function get screenY():Number
screenZproperty 
screenZ:Number  [read-only]


Implementation
    public function get screenZ():Number
uvproperty 
uv:UV  [read-only]


Implementation
    public function get uv():UV
viewproperty 
view:View3D  [read-only]


Implementation
    public function get view():View3D
Constructor Detail
HitManager()Constructor
public function HitManager(view:View3D)



Parameters
view:View3D
####INIT####
Method Detail
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

Returns
MouseEvent3D