MathExtensions.LinearToCubicIndex(Int32, Vector3Int) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
static UnityEngine::Vector3Int LinearToCubicIndex(int linearIndex, UnityEngine::Vector3Int size);
public static UnityEngine.Vector3Int LinearToCubicIndex (int linearIndex, UnityEngine.Vector3Int size);
static member LinearToCubicIndex : int * UnityEngine.Vector3Int -> UnityEngine.Vector3Int
Public Function LinearToCubicIndex (linearIndex As Integer, size As Vector3Int) As Vector3Int
Parameters
- linearIndex
- Int32
- size
- UnityEngine.Vector3Int
Returns
- UnityEngine.Vector3Int