APIExtend Class

Description

Extend EasyAR Sense API and Unity API for convenience to do operations like data conversion.


Methods

ToUnityMatrix

C#

public static Matrix4x4 ToUnityMatrix(this Matrix44F matrix44F)

Convert Matrix44F to Matrix4x4 .

ToEasyARVector

C#

public static Vec2F ToEasyARVector(this Vector2 vec2)

Convert Vector2 to Vec2F .

ToEasyARVector

C#

public static Vec3F ToEasyARVector(this Vector3 vec3)

Convert Vector3 to Vec3F .

ToUnityVector

C#

public static Vector2 ToUnityVector(this Vec2F vec2)

Convert Vec2F to Vector2 .

ToUnityVector

C#

public static Vector3 ToUnityVector(this Vec3F vec3)

Convert Vec3F to Vector3 .