EdgeShape Class |
Namespace: Internal.tainicom.Aether.Physics2D.Collision.Shapes
public class EdgeShape : Shape
The EdgeShape type exposes the following members.
Name | Description | |
---|---|---|
ChildCount | (Overrides ShapeChildCount.) | |
Density |
Gets or sets the density.
Changing the density causes a recalculation of shape properties.
(Inherited from Shape.) | |
HasVertex0 |
Is true if the edge is connected to an adjacent vertex before vertex 1.
| |
HasVertex3 |
Is true if the edge is connected to an adjacent vertex after vertex2.
| |
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.) | |
Vertex0 |
Optional adjacent vertices. These are used for smooth collision.
| |
Vertex1 |
These are the edge vertices
| |
Vertex2 |
These are the edge vertices
| |
Vertex3 |
Optional adjacent vertices. These are used for smooth collision.
|
Name | Description | |
---|---|---|
Clone | (Overrides ShapeClone.) | |
CompareTo | ||
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).) | |
Set |
Set this as an isolated edge.
| |
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.) |