找回密码
 注册帐号

扫一扫,访问微社区

clothskinningcoefficient 布料蒙皮系数

2015-1-4 15:57| 发布者: 杨炎| 查看: 1586| 评论: 0|原作者: 蛮牛|来自: unity3d脚本manual

摘要: clothskinningcoefficient 布料蒙皮系数structthe clothskinningcoefficient struct is used to set up how askinnedclothcomponent is allowed to move with respect to theskinnedmeshrendererit is attached to.c ...

clothskinningcoefficient 布料蒙皮系数

struct

the clothskinningcoefficient struct is used to set up how askinnedclothcomponent is allowed to move with respect to theskinnedmeshrendererit is attached to.

clothskinningcoefficient结构用于设置skinnedcloth组件允许如何移动,有关skinnedmeshrenderer是附加的。

this is set using theskinnedcloth.coefficientsproperty on the skinnedcloth 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 skinnedcloth component in the inspector.

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

variables变量

maxdistance

distance a vertex is allowed to travel from the skinned mesh vertex position.

一个点是允许从蒙皮网格点位置运动的距离。

maxdistancebias

distorts the sphere defined by the maxdistance based on skinned mesh normals.

通过基于蒙皮网格法线的最大距离,变形定义的球体。

collisionsphereradius

definition of a sphere a vertex is not allowed to enter. this allows collision against the animated cloth.

定义一个球体的一个顶点不允许进入。这允许反向碰撞动画布料。

collisionspheredistance

definition of a sphere a vertex is not allowed to enter. this allows collision against the animated cloth.

定义一个球体的一个顶点不允许进入。这允许反向碰撞动画布料。

相关阅读

文章点评
相关文章