Click or drag to resize

QuaternionFromDirectionZAxisUp Method (Vector3, Quaternion)

Similar to Quat.LookAt( direction, Vec3.ZAxis ) with fix for vertical direction.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public static void FromDirectionZAxisUp(
	ref Vector3 direction,
	out Quaternion result
)

Parameters

direction
Type: NeoAxisVector3
result
Type: NeoAxisQuaternion

Return Value

Type: 
See Also