◆ Sign()

static Vector3 Sign ( this Vector3  vec)
static
Parameters
vecThe vector to be analyzed
Returns
Each component of the return value is 1 when the same component of the parameter vector is positive or zero, -1 when negative.