AnchorToHomeZone() публичный Метод

public AnchorToHomeZone ( PCZone zone ) : void
zone PCZone
Результат void
Пример #1
0
		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 );
			}
		}
Пример #2
0
		/** Set the enclosure node for this Zone
		*/
		public override void SetEnclosureNode( PCZSceneNode node )
		{
			mEnclosureNode = node;
			// anchor the node to this zone
			node.AnchorToHomeZone( this );
		}
Пример #3
0
        /** Set the enclosure node for this Zone
         */

        public override void SetEnclosureNode(PCZSceneNode node)
        {
            mEnclosureNode = node;
            // anchor the node to this zone
            node.AnchorToHomeZone(this);
        }