Summary
Returns a
Unity.Mathematics.quaternion
representing a rotation from `from` to `to`.- Assembly
- FlexiMotion
.dll - Namespace
- FlexiMotion
- Containing Type
- FMUtilities
Syntax
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static quaternion FromToRotation(float3 from, float3 to)
Attributes
Type | Description |
---|---|
MethodImplAttribute |
Parameters
Name | Type | Description |
---|---|---|
from | float3 | |
to | float3 |
Return Value
Type | Description |
---|---|
quaternion |