C4 Engine
C4 Engine API Documentation

class Field

Defined in:  C4Fields.h
The Field class represents a field node in a world.
Definition

class Field : public Node

Member Functions
Field::GetFieldType Returns the specific type of a field.
Field::GetForce Returns the force assigned to a field.
Field::SetForce Assigns a force to a field.
Constructor

Field(FieldType type);

Parameters
type The type of the field. See below for a list of possible types.
Description
The Field class represents a field node in a world.

A field node can be of one of the following types.
kFieldBox Box field.
kFieldCylinder Cylinder field.
kFieldSphere Sphere field.
Base Classes
Node A Field node is a scene graph node.
See Also

FieldObject

Force