Documentation

Unity Engine

Download Unity

Unity Engine

Select(quaternion4, quaternion4, bool4)

Selects, for each lane, b where c is true and a otherwise.
Read time 1 minuteLast updated 4 hours ago

Definition

public static quaternion4 Select(this quaternion4 a, quaternion4 b, bool4 c)

Parameters

The quaternion4 to take the lanes from where
c
is
false
.

The quaternion4 to take the lanes from where
c
is
true
.

The per-lane selector, one value in each lane.

Returns

Type

Description

quaternion4A quaternion4 that combines the lanes of
a
and
b
.