Click or drag to resize

Matrix3FLookAt Method (Vector3F, Vector3F, Matrix3F)

Creates a look-at matrix.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public static void LookAt(
	ref Vector3F direction,
	ref Vector3F up,
	out Matrix3F result
)

Parameters

direction
Type: NeoAxisVector3F
Target position in world space.
up
Type: NeoAxisVector3F
Up vector in world space.
result
Type: NeoAxisMatrix3F

Return Value

Type: 
The instance of Matrix3 that transforms world space to camera space.
See Also