Shape Methods |
The Shape type exposes the following members.
Name | Description | |
---|---|---|
![]() | Clone |
Clone the concrete shape
|
![]() | ComputeAABB |
Given a transform, compute the associated axis aligned bounding box for a child shape.
|
![]() | ComputeProperties |
Compute the mass properties of this shape using its dimensions and density.
The inertia tensor is computed about the local origin, not the centroid.
|
![]() | ComputeSubmergedArea |
Used for the buoyancy controller
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | RayCast |
Cast a ray against a child shape.
|
![]() | TestPoint |
Test a point for containment in this shape.
Note: This only works for convex shapes.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx.) |
![]() | PropertyGet(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) |
![]() | PropertyGetT(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) |
![]() | PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx.) |