Skip to content

Documentation / scene / GPUClothWrapTargetConfig

Type Alias: GPUClothWrapTargetConfig ​

GPUClothWrapTargetConfig = object

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

Serialized wrap target used by GPUClothComponent.

Properties ​

meshId ​

meshId: string

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


bindingData ​

bindingData: GPUClothWrapBindingData

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


targetWrapWeights? ​

optional targetWrapWeights?: string

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

Sparse per-vertex wrap weights encoded as vertexIndex:weight. Missing vertices default to 1.

Released under the MIT License.