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