GetBounds()
Get Bounds data as NativeArray. The array count of this NativeArray will always be 1.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEngine.U2D
- Assembly: UnityEngine.SpriteShapeModule
public NativeArray<Bounds> GetBounds()
Returns
Type | Description |
|---|---|
| NativeArray<Bounds> | NativeArray of Bounds of SpriteShapeRenderer. The size of this will always be 1. |