ドキュメント

Unity Engine

Unity Engine

Swizzle(CellSwizzle, Vector3)

Swizzles the given position with the given swizzle order.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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

Position to swizzle.

Returns

Type

Description

Vector3The swizzled position.

Remarks

Additional Resources: CellSwizzle.