Version: 2018.1

ClothSkinningCoefficient

struct in UnityEngine

Switch to Manual

Description

Структура ClothSkinningCoefficient используется для того, чтобы задать как компонент SkinnedCloth может перемещаться по отношению к SkinnedMeshRenderer к которому он присоединен.

This is set using the Cloth.coefficients property on the Cloth component, which is a per-vertex array of ClothSkinningCoefficient structs. Typically, you will not set these values from code, but instead, set them up in the editor which shows up when you look at the Cloth component in the inspector.

Variables

collisionSphereDistanceОпределение сферы, в которую не могут заходить вершины. Это позволяет просчитывать коллизии с анимированой тканью.
maxDistanceДистанция, на которую вершина может перемещаться от позиции вершины, заданной skinned сеткой.