| Shape Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: Internal.tainicom.Aether.Physics2D.Collision.Shapes
 Syntax
Syntaxpublic abstract class Shape
The Shape type exposes the following members.
 Constructors
Constructors Properties
Properties| Name | Description | |
|---|---|---|
|  | ChildCount | 
            Get the number of child primitives.
             | 
|  | Density | 
            Gets or sets the density.
            Changing the density causes a recalculation of shape properties.
             | 
|  | Radius | 
            Radius of the Shape
            Changing the radius causes a recalculation of shape properties.
             | 
|  | ShapeType | 
            Get the type of this shape.
             | 
 Methods
Methods| 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.) | 
 Fields
Fields| Name | Description | |
|---|---|---|
|  | MassData | 
            Contains the properties of the shape such as:
            - Area of the shape
            - Centroid
            - Inertia
            - Mass
             | 
 Extension Methods
Extension Methods| 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.) | 
 See Also
See Also