Synced
Matrix.CreateLookAt
Section titled “Matrix.CreateLookAt”
- Creates a left-handed view matrix that looks from
eyetotarget.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Core.Mathematics
Scope: Runtime
Declaration
Section titled “Declaration”public static InnoEngine.Mathematics.Matrix InnoEngine.Mathematics.Matrix.CreateLookAt(InnoEngine.Mathematics.Vector3 eye, InnoEngine.Mathematics.Vector3 target, InnoEngine.Mathematics.Vector3 up)Parameters
Section titled “Parameters”Parameter eye: Camera position in world space.
Parameter target: Target position in world space.
Parameter up: Up direction in world space.
Returns
Section titled “Returns”A view matrix.