Skip to content

format

typescript
SkinnedMeshRenderer.bounds

class: SkinnedMeshRenderer

description

(Read Only) The bounding box of the renderer in world space.

This is an axis-aligned bounding box that fully encloses the object in world space. Using bounds, it is convenient to roughly estimate the position and range of the object. For example, this property often approximates the center of the object more accurately than Transform.position, especially in the case of asymmetric objects. Mesh.bounds and localBounds are similar, but they return the bounds in local space. You can override the default bounds by setting your own world space bounding box. This is useful when the renderer uses a shader that performs custom vertex deformation and the default bounds are inaccurate.

parameter

param_nametypedescription

reture

typedescription
Bounds

code example