UnityEngine.ClothModule The Cloth class provides an interface to cloth simulation physics. Bending stiffness of the cloth. An array of CapsuleColliders which this Cloth instance should collide with. Number of cloth solver iterations per second. The cloth skinning coefficients used to set up how the cloth interacts with the skinned mesh. How much to increase mass of colliding particles. Damp cloth motion. Enable continuous collision to improve collision stability. Is this cloth enabled? A constant, external acceleration applied to the cloth. The friction of the cloth when colliding with the character. The current normals of the cloth object. A random, external acceleration applied to the cloth. Minimum distance at which two cloth particles repel each other (default: 0.0). Self-collision stiffness defines how strong the separating impulse should be for colliding particles. Cloth's sleep threshold. An array of ClothSphereColliderPairs which this Cloth instance should collide with. Sets the stiffness frequency parameter. Stretching stiffness of the cloth. Should gravity affect the cloth simulation? Use Tether Anchors. Add one virtual particle per triangle to improve collision stability. The current vertex positions of the cloth object. How much world-space acceleration of the character will affect cloth vertices. How much world-space movement of the character will affect cloth vertices. Clear the pending transform changes from affecting the cloth simulation. Get list of particles to be used for self and inter collision. List to be populated with cloth particle indices that are used for self and/or inter collision. Get list of indices to be used when generating virtual particles. List to be populated with virtual particle indices. Get weights to be used when generating virtual particles for cloth. List to populate with virtual particle weights. Fade the cloth simulation in or out. Fading enabled or not. This allows you to set the cloth indices used for self and inter collision. List of cloth particles indices to use for cloth self and/or inter collision. Set indices to use when generating virtual particles. List of cloth particle indices to use when generating virtual particles. Sets weights to be used when generating virtual particles for cloth. List of weights to be used when setting virutal particles for cloth. The ClothSkinningCoefficient struct is used to set up how a Cloth component is allowed to move with respect to the SkinnedMeshRenderer it is attached to. Definition of a sphere a vertex is not allowed to enter. This allows collision against the animated cloth. Distance a vertex is allowed to travel from the skinned mesh vertex position. A pair of SphereColliders used to define shapes for Cloth objects to collide against. The first SphereCollider of a ClothSphereColliderPair. The second SphereCollider of a ClothSphereColliderPair. Creates a ClothSphereColliderPair. If only one SphereCollider is given, the ClothSphereColliderPair will define a simple sphere. If two SphereColliders are given, the ClothSphereColliderPair defines a conic capsule shape, composed of the two spheres and the cone connecting the two. The first SphereCollider of a ClothSphereColliderPair. The second SphereCollider of a ClothSphereColliderPair. Creates a ClothSphereColliderPair. If only one SphereCollider is given, the ClothSphereColliderPair will define a simple sphere. If two SphereColliders are given, the ClothSphereColliderPair defines a conic capsule shape, composed of the two spheres and the cone connecting the two. The first SphereCollider of a ClothSphereColliderPair. The second SphereCollider of a ClothSphereColliderPair. The Cloth module implements cloth physics simulation through the Cloth component.