SubMeshDescriptor.bounds

public Bounds bounds;

Description

Bounding box of vertices in local space.

The bounds, firstVertex and vertexCount values are calculated automatically by Mesh.SetSubMesh, unless MeshUpdateFlags.DontRecalculateBounds flag is passed.

Additional resources: Mesh.SetSubMesh, Mesh.GetSubMesh.


Did you find this page useful? Please give it a rating: