C4 Engine Terathon Software C4 Engine API Documentation

• Physics Manager

API Links
Developer Links

Field::GetFieldType

Defined in:  C4Fields.h
Returns the specific type of a field.
Prototype

FieldType GetFieldType(voidconst;

Description
The GetFieldType function returns the specific field type, which can be one of the following values.
kFieldBox A box field.
kFieldCylinder A cylinder field.
kFieldSphere A sphere field.