Click or drag to resize
CollisionCompoundShape Class
A compound shape, made of one or more collision shapes combined together. This is a great way to optimize static objects.
Inheritance Hierarchy
SystemObject
  GeonBit.Core.Physics.CollisionShapesICollisionShape
    GeonBit.Core.Physics.CollisionShapesCollisionCompoundShape

Namespace:  GeonBit.Core.Physics.CollisionShapes
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class CollisionCompoundShape : ICollisionShape

The CollisionCompoundShape type exposes the following members.

Constructors
  NameDescription
Public methodCollisionCompoundShape
Create the compound shape.
Top
Methods
  NameDescription
Public methodAddShape
Add a child shape to this compound shape.
Public methodClear
Clear the compound shape and remove all children from it.
Public methodClone
Clone the physical shape.
(Inherited from ICollisionShape.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRemoveShape
Remove a child shape from this compound shape.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also