Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

var coefficients: ClothSkinningCoefficient[];
ClothSkinningCoefficient[] coefficients;
coefficients as ClothSkinningCoefficient[]

Description

The cloth skinning coefficients used to set up how the cloth interacts with the skinned mesh.

See the SkinnedCloth component reference for a description how these are used, and how to set them up in the Unity editor.