用户工具

站点工具


侧边栏



Unity3D中文文档

script:unityengine:classes:clothskinningcoefficient:clothskinningcoefficient

ClothSkinningCoefficient 布料蒙皮系数

struct in UnityEngine

Description 描述

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.

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.

这是在SkinnedCloth组件设置使用SkinnedCloth.coefficients属性,这是一个ClothSkinningCoefficient结构的每个顶点数组。通常情况下,你不会从代码中设置这些值,但相反,当你在检视面板看SkinnedCloth组件显示出来时,在编辑器设置它们。

Variables 变量

collisionSphereDistanceDefinition of a sphere a vertex is not allowed to enter. This allows collision against the animated cloth.
定义一个球体的一个顶点不允许进入。这允许反向碰撞动画布料。
maxDistanceDistance a vertex is allowed to travel from the skinned mesh vertex position.
一个点是允许从蒙皮网格点位置运动的距离。
script/unityengine/classes/clothskinningcoefficient/clothskinningcoefficient.txt · 最后更改: 2016/08/02 05:34 (外部编辑)