Click or drag to resize

Matrix3LookAt Method (Vector3, Vector3, Matrix3)

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 Vector3 direction,
	ref Vector3 up,
	out Matrix3 result
)

Parameters

direction
Type: NeoAxisVector3
Target position in world space.
up
Type: NeoAxisVector3
Up vector in world space.
result
Type: NeoAxisMatrix3

Return Value

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