Click or drag to resize

QuaternionFromToRotation Method

Creates a rotation which rotates from towards to.

Namespace:  LightBuzz
Assembly:  LightBuzz (in LightBuzz.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static Quaternion FromToRotation(
	Vector3D from,
	Vector3D to
)

Parameters

from
Type: LightBuzzVector3D
From direction.
to
Type: LightBuzzVector3D
To direction.

Return Value

Type: Quaternion
The resulting rotation.
See Also