GltfConversions.GetVector2Value(Single[]) 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.
Get Vector2 from float array
public:
[System::Runtime::CompilerServices::Extension]
static UnityEngine::Vector2 GetVector2Value(cli::array <float> ^ vector2Array);
public static UnityEngine.Vector2 GetVector2Value (this float[] vector2Array);
static member GetVector2Value : single[] -> UnityEngine.Vector2
<Extension()>
Public Function GetVector2Value (vector2Array As Single()) As Vector2
Parameters
- vector2Array
- Single[]
Returns
- UnityEngine.Vector2