Chooses one of two vectors depending on the pick1 value.
Namespace: NeoAxisAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic static Vector2H Select(
Vector2H v1,
Vector2H v2,
bool pick1
)
Parameters
- v1 Vector2H
- The first vector to choose.
- v2 Vector2H
- The second vector to choose.
- pick1 Boolean
- If this value is true, the method chooses the virst vector, otherwise it chooses the second one.
Return Value
Vector2HThe selected vector.
See Also