Skip to main content

Auki::Ark::Matrix4x4Extensions

A static class containing extension methods for the Matrix4x4 type.

Public Functions

Name
Matrix4x4FromToOpenGLUnityConvention(this Matrix4x4 openGlOrUnityTransformMatrix)
This converts transform matrices from OpenGL to Unity or vice-versa. Basically, flips the z-value in the matrix.

Public Functions Documentation

function FromToOpenGLUnityConvention

static Matrix4x4 FromToOpenGLUnityConvention(
this Matrix4x4 openGlOrUnityTransformMatrix
)

This converts transform matrices from OpenGL to Unity or vice-versa. Basically, flips the z-value in the matrix.

Parameters:

  • openGlOrUnityTransformMatrix

Return: The converted Matrix4x4.