ChainShape Class |
Namespace: Internal.tainicom.Aether.Physics2D.Collision.Shapes
public class ChainShape : Shape
The ChainShape type exposes the following members.
Name | Description | |
---|---|---|
![]() | ChainShape |
Constructor for ChainShape. By default have 0 in density.
|
![]() | ChainShape(Vertices, Boolean) |
Create a new chainshape from the vertices.
|
Name | Description | |
---|---|---|
![]() | ChildCount | (Overrides ShapeChildCount.) |
![]() | Density |
Gets or sets the density.
Changing the density causes a recalculation of shape properties.
(Inherited from Shape.) |
![]() | NextVertex |
Establish connectivity to a vertex that follows the last vertex.
Don't call this for loops.
|
![]() | PrevVertex |
Establish connectivity to a vertex that precedes the first vertex.
Don't call this for loops.
|
![]() | 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 chain to another chain
|
![]() | 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.) |
![]() | GetChildEdge |
Get a child edge.
|
![]() | 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.) |
![]() | Vertices |
The vertices. These are not owned/freed by the chain 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.) |