Skip to main content

Auki::Ark::Vector3Extensions

A static class containing extension methods for the Vector3 type.

Public Functions

Name
Vector3FromToOpenGLUnityConvention(this Vector3 openGlOrUnityTransformVector)
This converts Vector3 from OpenGL to Unity or vice-versa. Basically, flips the z-value.

Public Functions Documentation

function FromToOpenGLUnityConvention

static Vector3 FromToOpenGLUnityConvention(
this Vector3 openGlOrUnityTransformVector
)

This converts Vector3 from OpenGL to Unity or vice-versa. Basically, flips the z-value.

Parameters:

  • openGlOrUnityTransformVector

Return: The converted Vector3.