C4 Engine
C4 Engine API Documentation

class PlateGeometry

Defined in:  C4Primitives.h
The PlateGeometry class represents a plate primitive node in a world.
Definition

class PlateGeometry final : public PrimitiveGeometry

Constructor

PlateGeometry(const Vector2D& size);

Parameters
size The size of the plate.
Description
The PlateGeometry class represents a plate primitive node in a world. In its local coordinate space, a plate primitive lies in the x-y plane with one of its corners at the origin. The components of the size parameter define the extents of the plate in the positive x and y directions.

When a new plate geometry is created, the corresponding PlateGeometryObject is automatically created and referenced by the geometry node.
Base Classes
PrimitiveGeometry A plate is a specific type of primitive geometry.
See Also

PlateGeometryObject