GltfConversions.GetVector2Array(GltfAccessor, Boolean) 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 array from accessor
public static UnityEngine.Vector2[] GetVector2Array (this Microsoft.MixedReality.Toolkit.Utilities.Gltf.Schema.GltfAccessor accessor, bool flip = true);
static member GetVector2Array : Microsoft.MixedReality.Toolkit.Utilities.Gltf.Schema.GltfAccessor * bool -> UnityEngine.Vector2[]
<Extension()>
Public Function GetVector2Array (accessor As GltfAccessor, Optional flip As Boolean = true) As Vector2()
Parameters
- accessor
- GltfAccessor
- flip
- Boolean
Returns
- UnityEngine.Vector2[]