Click or drag to resize

Shape Methods

The Shape type exposes the following members.

Methods
  NameDescription
Public methodClone
Clone the concrete shape
Public methodComputeAABB
Given a transform, compute the associated axis aligned bounding box for a child shape.
Protected methodComputeProperties
Compute the mass properties of this shape using its dimensions and density. The inertia tensor is computed about the local origin, not the centroid.
Public methodComputeSubmergedArea
Used for the buoyancy controller
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(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.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRayCast
Cast a ray against a child shape.
Public methodTestPoint
Test a point for containment in this shape. Note: This only works for convex shapes.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
See Also