public override void SetEnclosureNode( PCZSceneNode node ) { mEnclosureNode = node; if ( null != node ) { // anchor the node to this zone node.AnchorToHomeZone( this ); // make sure node world bounds are up to date //node._updateBounds(); // resize the octree to the same size as the enclosure node bounding box Resize( node.WorldAABB ); } }
/** Set the enclosure node for this Zone */ public override void SetEnclosureNode( PCZSceneNode node ) { mEnclosureNode = node; // anchor the node to this zone node.AnchorToHomeZone( this ); }
/** Set the enclosure node for this Zone */ public override void SetEnclosureNode(PCZSceneNode node) { mEnclosureNode = node; // anchor the node to this zone node.AnchorToHomeZone(this); }