C4 Engine
C4 Engine API Documentation

class SphereShapeObject

Defined in:  C4Shapes.h
The SphereShapeObject class encapsulates data pertaining to a sphere shape.
Definition

class SphereShapeObject : public ShapeObject, public SphereVolume

Constructor

SphereShapeObject(const Vector3D& size);

Parameters
size The size of the sphere.
Description
The SphereShapeObject class encapsulates a physics shape that is a sphere whose dimensions are specified by the size parameter.
Base Classes
ShapeObject A SphereShapeObject is an object that can be shared by multiple sphere shape nodes.
SphereVolume A SphereShapeObject is represented by a generic sphere volume.
See Also

SphereShape