C4 Engine Terathon Software C4 Engine API Documentation

• Effect Manager

API Links
Developer Links

class ClothGeometryObject

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

class ClothGeometryObject : public PrimitiveGeometryObject

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

ClothGeometryObject(const Vector2D& size, long width, long 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