C4 Engine
C4 Engine API Documentation

class SphereTriggerObject

Defined in:  C4Triggers.h
The SphereTriggerObject class encapsulates data pertaining to a sphere trigger.
Definition

class SphereTriggerObject final : public TriggerObject, public SphereVolume

Constructor

SphereTriggerObject(const Vector3D& size);

Parameters
size The size of the sphere.
Description
The SphereTriggerObject class encapsulates a trigger volume shaped like a sphere whose dimensions are specified by the size parameter.
Base Classes
TriggerObject A SphereTriggerObject is an object that can be shared by multiple sphere trigger nodes.
SphereVolume A SphereTriggerObject is represented by a generic sphere volume.
See Also

SphereTrigger