MathExtensions.CubicToLinearIndex(Vector3Int, 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 int CubicToLinearIndex(UnityEngine::Vector3Int ndx, UnityEngine::Vector3Int size);
public static int CubicToLinearIndex (UnityEngine.Vector3Int ndx, UnityEngine.Vector3Int size);
static member CubicToLinearIndex : UnityEngine.Vector3Int * UnityEngine.Vector3Int -> int
Public Function CubicToLinearIndex (ndx As Vector3Int, size As Vector3Int) As Integer
Parameters
- ndx
- UnityEngine.Vector3Int
- size
- UnityEngine.Vector3Int