Chooses one of two vectors depending on the pick1 value.
Namespace:
NeoAxis
Assembly:
NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax public static Vector3I Select(
Vector3I v1,
Vector3I v2,
bool pick1
)
Parameters
- v1
- Type: NeoAxisVector3I
The first vector to choose. - v2
- Type: NeoAxisVector3I
The second vector to choose. - pick1
- Type: SystemBoolean
If this value is true, the method chooses the virst vector, otherwise it chooses the second one.
Return Value
Type:
Vector3IThe selected vector.
See Also