Axiom.SceneManagers.Bsp.BspLevel.NotifyObjectMoved C# (CSharp) Метод

NotifyObjectMoved() приватный Метод

Ensures that the Axiom.Core.SceneObject is attached to the right leaves of the BSP tree.
private NotifyObjectMoved ( Axiom.Core.MovableObject obj, Vector3 pos ) : void
obj Axiom.Core.MovableObject
pos Vector3
Результат void
		internal void NotifyObjectMoved( MovableObject obj, Vector3 pos )
		{
			IEnumerator objnodes = objectToNodeMap.Find( obj );

			if ( objnodes != null )
			{
				while ( objnodes.MoveNext() )
					( (BspNode)objnodes.Current ).RemoveObject( obj );

				objectToNodeMap.Clear( obj );
			}

			TagNodesWithObject( this.RootNode, obj, pos );
		}