SkinnedMeshRenderer.localBounds 本地边界框

var localBounds : Bounds

Description描述

AABB of this Skinned Mesh in its local space.

在本地坐标空间这个蒙皮网格的AABB。

It is precomputed on import for imported models based on animations associated with that model, which means that the bounding box might be much bigger than the mesh itself. It is recomputed every time when updateWhenOffscreen is enabled, but in this case it would be exactly the size of the mesh at that frame.

这是基于动画相关导入的模型预先计算的,这意味着边界框可能比网格本身更大。当updateWhenOffscreen被启用,每次重新计算,但是这种情况下,将是那一帧正好网格的大小。

参见:updateWhenOffscreen

Page last updated: 2011-9-18