bounds
Bounding box of vertices in local space.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Property
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public Bounds bounds { readonly get; set; }
Remarks
The SubMeshDescriptor.bounds, SubMeshDescriptor.firstVertex and SubMeshDescriptor.vertexCount values are calculated automatically by Mesh.SetSubMesh, unless MeshUpdateFlags.DontRecalculateBounds flag is passed.
Additional Resources: Mesh.SetSubMesh, Mesh.GetSubMesh.