C4 Engine
C4 Engine API Documentation

class SphereGeometryObject

Defined in:  C4Primitives.h
The SphereGeometryObject class encapsulates data pertaining to a sphere primitive.
Definition

class SphereGeometryObject final : public PrimitiveGeometryObject

Member Functions
SphereGeometryObject::GetSphereSize Returns the sphere size.
SphereGeometryObject::SetSphereSize Sets the sphere size.
Constructor

SphereGeometryObject(const Vector3D& size);

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

SphereGeometry