Luxar Viewer API Documentation - v2026.10.19
GitHub
Preparing search index...
core/app/camera/flight-trajectories
slerpDirection
Function slerpDirection
slerpDirection
(
from
:
Vector3
,
to
:
Vector3
,
s
:
number
)
:
Vector3
Rotate unit
from
toward unit
to
by fraction
s
of the angle between them.
Parameters
from
:
Vector3
to
:
Vector3
s
:
number
Returns
Vector3
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
GitHub
Luxar Viewer API Documentation - v2026.10.19
Loading...
Rotate unit
fromtoward unittoby fractionsof the angle between them.