view | The direction to look in. |
up | The vector that defines in which direction up is. |
Creates a rotation with the specified forward
and upwards
directions.
forward
and the Y axis with upwards
, assuming these vectors are orthogonal.
Logs an error if the forward direction is zero.See Also: LookRotation.