Skip to content

Documentation / scene / GPUClothComponentConfig

Type Alias: GPUClothComponentConfig

GPUClothComponentConfig = object

Defined in: libs/scene/src/animation/cloth/gpu_cloth_component.ts:36

Persistent configuration for a GPU cloth component.

Properties

version

version: 1

Defined in: libs/scene/src/animation/cloth/gpu_cloth_component.ts:37


sourceId?

optional sourceId?: string

Defined in: libs/scene/src/animation/cloth/gpu_cloth_component.ts:38


enabled

enabled: boolean

Defined in: libs/scene/src/animation/cloth/gpu_cloth_component.ts:39


simulationMeshId

simulationMeshId: string

Defined in: libs/scene/src/animation/cloth/gpu_cloth_component.ts:40


gravity

gravity: [number, number, number]

Defined in: libs/scene/src/animation/cloth/gpu_cloth_component.ts:41


damping

damping: number

Defined in: libs/scene/src/animation/cloth/gpu_cloth_component.ts:42


dynamicFriction

dynamicFriction: number

Defined in: libs/scene/src/animation/cloth/gpu_cloth_component.ts:43


staticFriction

staticFriction: number

Defined in: libs/scene/src/animation/cloth/gpu_cloth_component.ts:44


stiffness

stiffness: number

Defined in: libs/scene/src/animation/cloth/gpu_cloth_component.ts:45


poseFollow

poseFollow: number

Defined in: libs/scene/src/animation/cloth/gpu_cloth_component.ts:46


substeps

substeps: number

Defined in: libs/scene/src/animation/cloth/gpu_cloth_component.ts:47


solverIterations

solverIterations: number

Defined in: libs/scene/src/animation/cloth/gpu_cloth_component.ts:48


maxNeighbors

maxNeighbors: number

Defined in: libs/scene/src/animation/cloth/gpu_cloth_component.ts:49


maxTrianglesPerVertex

maxTrianglesPerVertex: number

Defined in: libs/scene/src/animation/cloth/gpu_cloth_component.ts:50


workgroupSize

workgroupSize: number

Defined in: libs/scene/src/animation/cloth/gpu_cloth_component.ts:51


rebuildNormals

rebuildNormals: boolean

Defined in: libs/scene/src/animation/cloth/gpu_cloth_component.ts:52


pinnedVertexWeights

pinnedVertexWeights: string

Defined in: libs/scene/src/animation/cloth/gpu_cloth_component.ts:53


wrapTargets

wrapTargets: GPUClothWrapTargetConfig[]

Defined in: libs/scene/src/animation/cloth/gpu_cloth_component.ts:54


colliders

colliders: GPUClothColliderConfig[]

Defined in: libs/scene/src/animation/cloth/gpu_cloth_component.ts:55

Released under the MIT License.