AnchorToHomeZone() public method

public AnchorToHomeZone ( PCZone zone ) : void
zone PCZone
return void
コード例 #1
0
ファイル: OctreeZone.cs プロジェクト: WolfgangSt/axiom
		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
ファイル: DefaultZone.cs プロジェクト: WolfgangSt/axiom
		/** 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
ファイル: DefaultZone.cs プロジェクト: axiom3d/axiom
        /** Set the enclosure node for this Zone
         */

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