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

SpriteShapeRenderer.GetBounds

Declaration

public NativeArray<Bounds> GetBounds();

Returns

NativeArray<Bounds> NativeArray of Bounds of SpriteShapeRenderer. The size of this will always be 1.

Description

Get Bounds data as NativeArray. The array count of this NativeArray will always be 1.