struct
Capsule3D3D capsule
Contents
- Reference
Public types
- using TextureCoords = CapsuleTextureCoords deprecated
- Whether to generate capsule texture coordinates.
Public static functions
-
static auto solid(UnsignedInt hemisphereRings,
UnsignedInt cylinderRings,
UnsignedInt segments,
Float halfLength,
CapsuleTextureCoords textureCoords = CapsuleTextureCoords::
DontGenerate) -> Trade:: MeshData3D deprecated - Solid 3D capsule.
-
static auto wireframe(UnsignedInt hemisphereRings,
UnsignedInt cylinderRings,
UnsignedInt segments,
Float halfLength) -> Trade::
MeshData3D deprecated - Wireframe 3D capsule.
Typedef documentation
typedef CapsuleTextureCoords Magnum:: Primitives:: Capsule3D:: TextureCoords
Whether to generate capsule texture coordinates.
Function documentation
static Trade:: MeshData3D Magnum:: Primitives:: Capsule3D:: solid(UnsignedInt hemisphereRings,
UnsignedInt cylinderRings,
UnsignedInt segments,
Float halfLength,
CapsuleTextureCoords textureCoords = CapsuleTextureCoords:: DontGenerate)
Solid 3D capsule.
static Trade:: MeshData3D Magnum:: Primitives:: Capsule3D:: wireframe(UnsignedInt hemisphereRings,
UnsignedInt cylinderRings,
UnsignedInt segments,
Float halfLength)
Wireframe 3D capsule.