C4 Engine
C4 Engine API Documentation

class SphereFieldObject

Defined in:  C4Fields.h
The SphereFieldObject class encapsulates data pertaining to a sphere field.
Definition

class SphereFieldObject final : public FieldObject, public SphereVolume

Constructor

SphereFieldObject(const Vector3D& size);

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

SphereField