기술 자료

Unity Engine

Unity Engine

SetLocalAABB(Bounds)

Provides methods for setting the bounding volume of the Sprite Shape geometry.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine.U2D
  • Assembly: UnityEngine.SpriteShapeModule
public void SetLocalAABB(Bounds bounds)

Parameters

bounds

The bounding volume of geometry.

Remarks

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.