Quaternion
.SetFromToRotation
Manual
Reference
Scripting
Scripting
>
Runtime Classes
>
Quaternion
Quaternion
.SetFromToRotation
Menu
Overview
Runtime Classes
Attributes
Enumerations
Editor Classes
Attributes
Enumerations
History
Index
Quaternion
All Members
Variables
eulerAngles
this [int index]
w
x
y
z
Constructors
Quaternion
Functions
Set
SetFromToRotation
SetLookRotation
ToAngleAxis
ToString
Class Variables
identity
Class Functions
Angle
AngleAxis
Dot
Euler
FromToRotation
Inverse
Lerp
LookRotation
operator !=
operator *
operator ==
RotateTowards
Slerp
function
SetFromToRotation (fromDirection :
Vector3
, toDirection :
Vector3
) :
void
Description
Creates a rotation which rotates from
fromDirection
to
toDirection
.