找回密碼
 注冊帳號

掃一掃,訪問微社區

clothskinningcoefficient.maxdistancebias 最大距離偏移

2015-1-4 16:17| 發布者: 楊炎| 查看: 1678| 評論: 0|原作者: 蠻牛|來自: unity3d腳本manual

摘要: clothskinningcoefficient.maxdistancebias 最大距離偏移varmaxdistancebias: floatdescription描述distorts the sphere defined by the maxdistance based on skinned mesh normals.通過基于蒙皮網格法線的最大距離 ...

clothskinningcoefficient.maxdistancebias 最大距離偏移

varmaxdistancebias: float

description描述

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

通過基于蒙皮網格法線的最大距離,變形定義的球體。

the feature is disabled for a value of 0.0 (default). in this case the max distance sphere is undistorted. decreasing the maxdistancebias towards -1.0 reduces the distance the vertex is allowed to travel in the tangential direction.for -1.0 the vertex has to stay on the normal through the skinned mesh vertex position and within maxdistance to the skinned mesh vertex position. increasing maxdistancebias towards 1.0 reduces the discance the vertex is allowed to travel in the normal direction. at 1.0 the vertex can only move inside the tangental plane within maxdistance from the skinned mesh vertex position. default: 0.0 range: [-1.0, 1.0]

值為0.0的時,為禁用(默認值),在這種情況下在,最大距離球體是不變形的。向-0.1減小maxdistancebias值,頂點允許在切線方向運動減少距離。對于-1.0的頂點停留在蒙皮網格頂點位置法線上并且在maxdistance到蒙皮網格頂點位置內。向1.0增加maxdistancebias值,頂點允許在法線方向運動減少距離,在1.0的頂點,只能在maxdistance從蒙皮網格頂點位置的切線平面內移動。默認:0.0 范圍:[-1.0,1.0]

相關閱讀

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