Axiom.Core.Entity.DetachObjectFromBone C# (CSharp) Method

DetachObjectFromBone() public method

public DetachObjectFromBone ( string name ) : Axiom.Core.MovableObject
name string
return Axiom.Core.MovableObject
		public MovableObject DetachObjectFromBone( string name )
		{
			MovableObject obj = this.childObjectList[ name ];
			if ( obj == null )
			{
				throw new AxiomException( "Child object named '{0}' not found.  Entity.DetachObjectFromBone", name );
			}

			this.DetachObjectImpl( obj );
			this.childObjectList.Remove( name );

			return obj;
		}

Same methods

Entity::DetachObjectFromBone ( Axiom.Core.MovableObject obj ) : void