Click or drag to resize

Matrix4FLookAt(Vector3F, Vector3F, Vector3F) Method

Creates a look-at matrix.

Namespace: NeoAxis
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public static Matrix4F LookAt(
	Vector3F eye,
	Vector3F dir,
	Vector3F up
)

Parameters

eye  Vector3F
Eye (camera) position in world space.
dir  Vector3F
Target position in world space.
up  Vector3F
Up vector in world space.

Return Value

Matrix4F
The instance of Matrix4F that transforms world space to camera space.
See Also