cloth.normals 法线列表

2015-1-4 14:07| 发布者: 杨炎| 查看: 1333| 评论: 0|原作者: 蛮牛|来自: yzc88亚洲城脚本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接缝时使用(如,同一顶点多个索引),布料顶点将不同,作为布料模拟只使用每个顶点单个索引。

相关阅读

文章点评
相关文章