AnchorToHomeZone() public méthode

public AnchorToHomeZone ( PCZone zone ) : void
zone PCZone
Résultat void
Exemple #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 );
			}
		}
Exemple #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 );
		}
Exemple #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);
        }