APIExtend Class¶
Description¶
Extend EasyAR Sense API and Unity API for convenience to do operations like data conversion.
Methods¶
ToUnityMatrix¶
ToEasyARMatrix¶
ToUnityPose¶
Convert Matrix44F to Pose and transform to Unity coordinate system. pose must represent a Pose .
ToEasyARAxisSystem¶
Transform from Unity axis system to EasyAR axis system.
ToUnityAxisSystem¶
Transform from EasyAR axis system to Unity axis system.
ToEasyARPose¶
Convert Pose to Matrix44F and transform to EasyAR coordinate system.
ToEasyARVector¶
ToEasyARVector¶
ToEasyARVector¶
ToEasyARVector¶
- C#
public static Vec4F ToEasyARVector(this Quaternion vec4)
Convert Quaternion to Vec4F .
ToEasyARVector¶
- C#
public static Vec2I ToEasyARVector(this Vector2Int vec2)
Convert Vector2Int to Vec2I .
ToUnityVector¶
ToUnityVector¶
ToUnityVector¶
- C#
public static Vector2Int ToUnityVector(this Vec2I vec2)
Convert Vec2I to Vector2Int .