GetBindPoses(Sprite)
Returns an array of BindPoses.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEngine.U2D
- Assembly: UnityEngine.CoreModule
public static NativeArray<Matrix4x4> GetBindPoses(this Sprite sprite)
Parameters
The sprite to retrieve the bind pose from.
Returns
Type | Description |
|---|---|
| NativeArray<Matrix4x4> | A list of bind poses for this sprite. There is no need to dispose the returned NativeArray. |
Remarks
Use this to animate the Sprite at runtime. Or write to it during bind pose editing.