C4 Engine
C4 Engine API Documentation

class DiskGeometryObject

Defined in:  C4Primitives.h
The DiskGeometryObject class encapsulates data pertaining to a disk primitive.
Definition

class DiskGeometryObject final : public PrimitiveGeometryObject

Member Functions
DiskGeometryObject::GetDiskSize Returns the disk size.
DiskGeometryObject::SetDiskSize Sets the disk size.
Constructor

DiskGeometryObject(const Vector2D& size);

Parameters
size The size of the disk.
Description
The DiskGeometryObject class encapsulates data pertaining to a disk primitive. In its local coordinate space, a disk primitive lies in the x-y plane with its center at the origin. The components of the size parameter define the semiaxis lengths in the x and y directions.
Base Classes
PrimitiveGeometryObject A DiskGeometryObject is an object that can be shared by multiple disk geometry nodes.
See Also

DiskGeometry