Summary
Sets the pivot of the sprite at the specified `index`.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor .Tools - Containing Type
- SpriteDataEditor
Syntax
public void SetPivot(int index, Vector2 pivot)
Parameters
| Name | Type | Description |
|---|---|---|
| index | int | |
| pivot | Vector2 |
Return Value
| Type | Description |
|---|---|
| void |