Method: mousePosAbsolute

Gets the position of the mouse relative to this entity not taking into account viewport translation.
mousePosAbsolute (IgeViewport viewport)
  • IgeViewportviewport The viewport to use as the base from which the mouse position is determined. If no viewport is specified then the current viewport the engine is rendering to is used instead.
Returns IgePoint3d The mouse point relative to the entity center.

Get absolute mouse position

var mousePosAbs = entity.mousePosAbsolute();
© Copyright 2013 Irrelon Software Limited. All Rights Reserved. UK Registered Company Number: 07522767
Isogenic (ī´sōjen´ik): Adj originating from a common source; possessing the same genetic composition.
Strange Things Happen at the One Two Point