C4 Engine
C4 Engine API Documentation

class ClothGeometryObject

Defined in:  C4Deformable.h
The ClothGeometryObject class encapsulates data pertaining to a cloth primitive.
Definition

class ClothGeometryObject final : public PrimitiveGeometryObject

Member Functions
ClothGeometryObject::GetClothSize Returns the cloth size.
ClothGeometryObject::SetClothSize Sets the cloth size.
Constructor

ClothGeometryObject(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
PrimitiveGeometryObject A ClothGeometryObject is an object that can be shared by multiple cloth geometry nodes.
See Also

ClothGeometry

ClothController