Universe.Physics.BulletSPlugin.BulletShape.Clear C# (CSharp) Method

Clear() public method

public Clear ( ) : void
return void
        public virtual void Clear()
        {
        }

Usage Example

 public override void Dispose()
 {
     if (m_terrainBody.HasPhysicalBody)
     {
         PhysicsScene.PE.RemoveObjectFromWorld(PhysicsScene.World, m_terrainBody);
         // Frees both the body and the shape.
         PhysicsScene.PE.DestroyObject(PhysicsScene.World, m_terrainBody);
         m_terrainBody.Clear();
         m_terrainShape.Clear();
     }
 }