IgeEntity

Method: mousePosWorld

Gets the position of the mouse in world co-ordinates.
mousePosWorld (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 world center.

Get mouse position in world co-ordinates

var mousePosWorld = entity.mousePosWorld();
© 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