Skip to content

Documentation / scene / normalizeGPUClothComponentConfig

Function: normalizeGPUClothComponentConfig()

normalizeGPUClothComponentConfig(value?): GPUClothComponentConfig

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

Normalizes untrusted or older component data into the current schema.

Parameters

value?

Partial<GPUClothComponentConfig>

Returns

GPUClothComponentConfig

Released under the MIT License.