C4 Engine
C4 Engine API Documentation

CapsuleVolume::GetCapsuleSize

Defined in:  C4Volumes.h
Returns the hemispherical cap size.
Prototype

const Vector3D& GetCapsuleSize(voidconst;

Description
The GetCapsuleSize function returns a 3D vector containing the physical dimensions of the hemispherical caps of the capsule volume. The center of the base of the interior cylinder coincides with the origin, and the three components of the size correspond to the radii of the hemispherical caps along the x, y, and z axes.
See Also

CapsuleVolume::SetCapsuleSize

CapsuleVolume::GetCapsuleHeight

CapsuleVolume::SetCapsuleHeight