Struct b3DebugShape
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
Describes a shape to the application so it can build draw resources.
Mirror of b3DebugShape.
public struct b3DebugShapeInherited Members
Remarks
Passed to the create-debug-shape callback. Box3D.Native.b3DebugShape.type selects which member of the union is valid; all of them are borrowed pointers into Box3D-owned memory.
Fields
- capsule
-
The capsule, valid when Box3D.Native.b3DebugShape.type is Box3D.Native.b3ShapeType.b3_capsuleShape.
- compound
-
The compound, valid when Box3D.Native.b3DebugShape.type is Box3D.Native.b3ShapeType.b3_compoundShape.
- heightField
-
The height field, valid when Box3D.Native.b3DebugShape.type is Box3D.Native.b3ShapeType.b3_heightShape.
- hull
-
The hull, valid when Box3D.Native.b3DebugShape.type is Box3D.Native.b3ShapeType.b3_hullShape.
- mesh
-
The scaled mesh, valid when Box3D.Native.b3DebugShape.type is Box3D.Native.b3ShapeType.b3_meshShape.
- shapeId
-
The shape being described.
- sphere
-
The sphere, valid when Box3D.Native.b3DebugShape.type is Box3D.Native.b3ShapeType.b3_sphereShape.
- type
-
The shape type, which selects the valid union member.