Quaternion.rotation

Calculates quaternion based on rotation between from and to

struct Quaternion
public static
rotation

Meta