Cloth & Hair
Cloth and hair simulation: ClothVisual, HairVisual, and their assets.
Commonly used
ClothVisualSimulates and renders cloth visuals in a Lens.HairVisualUsed to simulate and render hairstyles with realistic lighting and physics.
Guides
All APIs in this topic
Add components to a scene object and reference assets and other modules with a script input.
Components, assets, and modules
| API | Description |
|---|---|
| ClothVisual | Simulates and renders cloth visuals in a Lens. |
| HairDataAsset | Hair asset converted from an FBX containing splines to be used with HairVisual. |
| HairVisual | Used to simulate and render hairstyles with realistic lighting and physics. |
| LevelsetColliderAsset | Collider asset generated from a mesh to be used with the HairVisual as part of the hair simulation. |
Objects and data
| API | Description |
|---|---|
| VertexSimulationSettings | Provides settings for vertex physics in the ClothVisual component. |