Quantum 3
3.0.13
The settings of each shape in the compound of shapes list. More...
Public Member Functions | |
| CompoundShapeData2D (Shape2DConfig fromConfig) | |
| Constructor that initializes the instance with the values from a Shape2DConfig. More... | |
| void | CopyToConfig (Shape2DConfig toConfig) |
| Copies the current instance's values to a Shape2DConfig instance. More... | |
| Shape2D | CreateShape (FrameBase f) |
| Creates a Shape2D using the all the data set in the CompoundShapeData2D. This shape is inserted on the shape buffer of the compound. More... | |
Public Attributes | |
| FPVector2 | BoxExtents |
| readonly FP | CapsuleExtent => FPMath.Max(CapsuleSize.Y, 0) / FP._2 - CapsuleRadius |
| readonly FP | CapsuleRadius => FPMath.Max(CapsuleSize.X, 0) / FP._2 |
| FPVector2 | CapsuleSize |
| FP | CircleRadius |
| FP | EdgeExtent |
| bool | IsSetFromSourceCollider |
| This means an external collider component from this engine sets this component. More... | |
| AssetRef< PolygonCollider > | PolygonCollider |
| FPVector2 | PositionOffset |
| FP | RotationOffset |
| Shape2DType | ShapeType |
| UInt16 | UserTag |
The settings of each shape in the compound of shapes list.
|
inline |
Constructor that initializes the instance with the values from a Shape2DConfig.
| fromConfig | Shape config used as source |
|
inline |
Copies the current instance's values to a Shape2DConfig instance.
| toConfig | Shape config to receive the values |
Creates a Shape2D using the all the data set in the CompoundShapeData2D. This shape is inserted on the shape buffer of the compound.
| f | The frame reference. |
| bool Quantum.Shape2DConfig.CompoundShapeData2D.IsSetFromSourceCollider |
This means an external collider component from this engine sets this component.