C4 Engine
C4 Engine API Documentation

class CylinderFieldObject

Defined in:  C4Fields.h
The CylinderFieldObject class encapsulates data pertaining to a cylinder field.
Definition

class CylinderFieldObject final : public FieldObject, public CylinderVolume

Constructor

CylinderFieldObject(const Vector2D& size, float height);

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

CylinderField