IgeEntity

Method: isBehind

Compares the current entity's 3d bounds to the passed entity and determines if the current entity is "behind" the passed one. If an entity is behind another, it is drawn first during the scenegraph render phase.
isBehind (IgeEntity otherObject)
  • IgeEntityotherObject The other entity to check this entity's 3d bounds against.
Returns Boolean If true this entity is "behind" the passed entity or false if not.

Determine if this entity is "behind" another entity based on the current depth-sort

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