Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

SpriteShapeRenderer.SetLocalAABB

Declaration

public void SetLocalAABB(Bounds bounds);

Parameters

bounds The bounding volume of geometry.

Description

Provides methods for setting the bounding volume of the Sprite Shape geometry.

This is the axis-aligned bounding box of the Sprite Shape geometry in its local space. The bounding volume is also updated whenever Sprite Shape geometry is generated.