找回密碼
 注冊帳號

掃一掃,訪問微社區

cloth.normals 法線列表

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

摘要: cloth.normals 法線列表varnormals:vector3description描述the current normals of the cloth object.當前布料物體的法線列表。this gives you read access to the normals of the cloth object, so you can analyse ...

cloth.normals 法線列表

varnormals:vector3[]

description描述

the current normals of the cloth object.

當前布料物體的法線列表。

this gives you read access to the normals of the cloth object, so you can analyse it's current simulation state. note that the normal indices may not necessarily correspond to the indices of the source mesh - especially when triangle stripping or uv seams are used in the source mesh (ie, multiple indices for the same vertex), cloth vertices will be different, as the cloth simulation only uses a single index for each vertex.

這使您可以讀取訪問布料物體的法線,所以你可以分析它目前的模擬狀態。請注意,法線索引未必一定對應于源網格索引,尤其當在源網格的三角形帶或uv接縫時使用(如,同一頂點多個索引),布料頂點將不同,作為布料模擬只使用每個頂點單個索引。

相關閱讀

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