找回密碼
 注冊帳號

掃一掃,訪問微社區

clothskinningcoefficient 布料蒙皮系數

2015-1-4 15:57| 發布者: 楊炎| 查看: 1556| 評論: 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.

定義一個球體的一個頂點不允許進入。這允許反向碰撞動畫布料。

相關閱讀

文章點評
相關文章
女校游泳队彩金