Quaternion.FromRotation
Quaternion.FromRotation method
Creates a quaternion that rotate from original to destination direction
public static Quaternion FromRotation(Vector3 orig, Vector3 dest)
Parameter | Type | Description |
---|---|---|
orig | Vector3 | Original direction |
dest | Vector3 | Destination direction |
Return Value
Created quaternion
See Also
- struct Vector3
- struct Quaternion
- namespace Aspose.ThreeD.Utilities
- assembly Aspose.3D