|
HughPH.Box2D
Organised dotnet bindings for Box2D 3.1.1
|
A chain shape is a series of connected line segments. More...
Inherits IEquatable< ChainShape >, and IComparable< ChainShape >.
Public Member Functions | |
| unsafe void | Destroy () |
| Destroys this chain shape. | |
| bool | Equals (ChainShape other) |
| Checks equality between two ChainShape values. | |
| override bool | Equals (object? obj) |
| override int | GetHashCode () |
| int | CompareTo (ChainShape other) |
| Compares this instance to another ChainShape. | |
Properties | |
| unsafe World | World [get] |
| Gets the world that owns this chain shape. | |
| unsafe ReadOnlySpan< Shape > | Segments [get] |
| The chain segments. | |
| unsafe float | Friction [get, set] |
| The chain friction. | |
| unsafe float | Restitution [get, set] |
| The chain restitution (bounciness) | |
| unsafe int | Material [get, set] |
| The chain material. | |
| unsafe bool | Valid [get] |
| Checks if the chain shape is valid. | |
| static IEqualityComparer< ChainShape > | DefaultEqualityComparer = ChainShapeComparer.Instance [get] |
| Default equality comparer for ChainShape. | |
| static IComparer< ChainShape > | DefaultComparer = ChainShapeComparer.Instance [get] |
| Default comparer for ChainShape. | |
A chain shape is a series of connected line segments.
|
inline |
Destroys this chain shape.
This will remove the chain shape from the world and destroy all contacts associated with this shape
|
get |
Checks if the chain shape is valid.
|
get |
Gets the world that owns this chain shape.