C4 Engine
C4 Engine API Documentation

class CylinderTriggerObject

Defined in:  C4Triggers.h
The CylinderTriggerObject class encapsulates data pertaining to a cylinder trigger.
Definition

class CylinderTriggerObject final : public TriggerObject, public CylinderVolume

Constructor

CylinderTriggerObject(const Vector2D& size, float height);

Parameters
size The size of the cylinder base.
height The height of the cylinder.
Description
The CylinderTriggerObject class encapsulates a trigger volume shaped like a cylinder whose dimensions are specified by the size and height parameters.
Base Classes
TriggerObject A CylinderTriggerObject is an object that can be shared by multiple cylinder trigger nodes.
CylinderVolume A CylinderTriggerObject is represented by a generic cylinder volume.
See Also

CylinderTrigger