The base settings for building a Shape3D. More...
Classes | |
struct | CompoundShapeData3D |
The settings of each shape in the compound of shapes list. More... | |
Public Member Functions | |
Shape3D | CreateShape (FrameBase f) |
Creates a Shape3D using the all the data set in the Shape3DConfig. More... | |
Static Public Member Functions | |
static bool | Copy (Shape3DConfig from, Shape3DConfig to) |
Copies all the shape config values to anothere shape config. More... | |
Public Attributes | |
FPVector3 | BoxExtents |
The vector that represents the extents of the box in each axis. More... | |
FP | CapsuleExtent => (CapsuleHeight / FP._2) - CapsuleRadius |
The capsule extent is the distance from the center of the capsule to some of the spheres' centers. More... | |
FP | CapsuleHeight |
The size of the capsule from the top end to the bottom end. More... | |
FP | CapsuleRadius |
The radius of the capsule. More... | |
CompoundShapeData3D[] | CompoundShapes |
The configuration array of each shape in the compound that will be allocated. More... | |
Boolean | IsPersistent = true |
Means the buffer of shapes is allocated in the memory. It will be free when the component is removed from the entity. More... | |
FPVector3 | PositionOffset |
The position offset of the shape. More... | |
FPVector3 | RotationOffset |
The rotation offset of the shape. More... | |
Shape3DType | ShapeType |
The type of the shape. More... | |
FP | SphereRadius |
The radius of the sphere. More... | |
UInt16 | UserTag |
The user tag to identify the compound shape during the collision event. More... | |
The base settings for building a Shape3D.
Creates a Shape3D using the all the data set in the Shape3DConfig.
f | The current frame. |
|
inlinestatic |
Copies all the shape config values to anothere shape config.
from | The shape config that will be copied. |
to | The shape config that will receive the other values. |
Shape3DType Quantum.Shape3DConfig.ShapeType |
The type of the shape.
FP Quantum.Shape3DConfig.SphereRadius |
The radius of the sphere.
FP Quantum.Shape3DConfig.CapsuleRadius |
The radius of the capsule.
FP Quantum.Shape3DConfig.CapsuleHeight |
The size of the capsule from the top end to the bottom end.
FP Quantum.Shape3DConfig.CapsuleExtent => (CapsuleHeight / FP._2) - CapsuleRadius |
The capsule extent is the distance from the center of the capsule to some of the spheres' centers.
FPVector3 Quantum.Shape3DConfig.PositionOffset |
The position offset of the shape.
FPVector3 Quantum.Shape3DConfig.BoxExtents |
The vector that represents the extents of the box in each axis.
FPVector3 Quantum.Shape3DConfig.RotationOffset |
The rotation offset of the shape.
UInt16 Quantum.Shape3DConfig.UserTag |
The user tag to identify the compound shape during the collision event.
Boolean Quantum.Shape3DConfig.IsPersistent = true |
Means the buffer of shapes is allocated in the memory. It will be free when the component is removed from the entity.
Only persistent compound shapes are supported on the editor.
CompoundShapeData3D [] Quantum.Shape3DConfig.CompoundShapes |
The configuration array of each shape in the compound that will be allocated.