Swizzle(CellSwizzle, Vector3)
Swizzles the given position with the given swizzle order.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.GridModule
public static Vector3 Swizzle(GridLayout.CellSwizzle swizzle, Vector3 position)
Parameters
Determines the rearrangement order for the swizzle.
Position to swizzle.
Returns
Type | Description |
|---|---|
| Vector3 | The swizzled position. |
Remarks
Additional Resources: GridLayout.CellSwizzle