Summary
Returns the appropriate alignment for the given `pivot`.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor .Tools - Containing Type
- SpriteDataEditor
Syntax
public static SpriteAlignment GetSpriteAlignment(Vector2 pivot)
Parameters
Name | Type | Description |
---|---|---|
pivot | Vector2 |
Return Value
Type | Description |
---|---|
SpriteAlignment |