IgeObject

Method: drawBoundsData

Gets / sets the boolean flag determining if this object should have it's bounds data drawn when the bounds for all objects are being drawn. Bounds data includes the object ID and it's current depth etc.
drawBoundsData (Boolean val)
  • Booleanval
Returns *

Enable draw bounds data

var entity = new IgeEntity();
entity.drawBoundsData(true);

Disable draw bounds data

var entity = new IgeEntity();
entity.drawBoundsData(false);

Get the current flag value

console.log(entity.drawBoundsData());
© 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