Documentation

Create Look At - Open Dev Kit Documentation

Open Dev Kit Documentation :: General :: Matrix 4x 4 :: Create Look At

Root.Matrix4x4.CreateLookAt(
  Position 3D Vector,
  Target 3D Vector,
  Up Vector 3D Vector
) Matrix 4x 4
Creates a view matrix for a camera looking at a target

Parameters

Position 3D Vector
Position of the camera
Target 3D Vector
Target position of the camera
Up Vector 3D Vector
Upward direction of the camera, perpendicular to the camera's forward direction

Return Value

Matrix 4x 4

If you think anything is missing, please feel free to: submit documentation feedback on this page