CircleShape Class |
Namespace: Internal.tainicom.Aether.Physics2D.Collision.Shapes
public class CircleShape : Shape
The CircleShape type exposes the following members.
| Name | Description | |
|---|---|---|
| CircleShape |
Create a new circle with the desired radius and density.
|
| Name | Description | |
|---|---|---|
| ChildCount | (Overrides ShapeChildCount.) | |
| Density |
Gets or sets the density.
Changing the density causes a recalculation of shape properties.
(Inherited from Shape.) | |
| Position |
Get or set the position of the circle
| |
| Radius |
Radius of the Shape
Changing the radius causes a recalculation of shape properties.
(Inherited from Shape.) | |
| ShapeType |
Get the type of this shape.
(Inherited from Shape.) |
| Name | Description | |
|---|---|---|
| Clone | (Overrides ShapeClone.) | |
| CompareTo |
Compare the circle to another circle
| |
| ComputeAABB | (Overrides ShapeComputeAABB(AABB, Transform, Int32).) | |
| ComputeProperties | (Overrides ShapeComputeProperties.) | |
| ComputeSubmergedArea | (Overrides ShapeComputeSubmergedArea(Vector2, Single, Transform, Vector2).) | |
| 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 | (Overrides ShapeRayCast(RayCastOutput, RayCastInput, Transform, Int32).) | |
| TestPoint | (Overrides ShapeTestPoint(Transform, Vector2).) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| MassData |
Contains the properties of the shape such as:
- Area of the shape
- Centroid
- Inertia
- Mass
(Inherited from Shape.) |
| 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.) |