C4 Engine
C4 Engine API Documentation

class ClothGeometry

Defined in:  C4Deformable.h
The ClothGeometry class represents a cloth primitive node in a world.
Definition

class ClothGeometry final : public PrimitiveGeometry

Constructor

ClothGeometry(const Vector2D& size, int32 width, int32 height);

Parameters
size The size of the cloth.
width The width of the cloth lattice.
height The height of the cloth lattice.
Description
Base Classes
PrimitiveGeometry A cloth is a specific type of primitive geometry.
See Also

ClothGeometryObject

ClothController