Table of Contents

Class APIExtend

名前空間
easyar
アセンブリ
EasyAR.Sense.dll

EasyAR Sense API と Unity API を拡張し、データ変換などの操作を便利にします。

public static class APIExtend
継承
APIExtend

メソッド

ToEasyARAxisSystem(Pose)

変換します from the Unity coordinate axis system to the EasyAR coordinate axis system.

public static Pose ToEasyARAxisSystem(this Pose pose)

パラメーター

pose

ToEasyARMatrix(Matrix4x4)

変換します Matrix4x4 to Matrix44F.

public static Matrix44F ToEasyARMatrix(this Matrix4x4 matrix4x4)

パラメーター

matrix4x4

ToEasyARPose(Pose)

変換します Pose to Matrix44F and also converts it to the EasyAR coordinate system.

public static Matrix44F ToEasyARPose(this Pose pose)

パラメーター

pose

ToEasyARQuaternion(Quaternion)

変換します Quaternion to a quaternion represented by Vec4F.

public static Vec4F ToEasyARQuaternion(this Quaternion quat)

パラメーター

quat

ToEasyARVector(Vector2)

変換します Vector2 to Vec2F.

public static Vec2F ToEasyARVector(this Vector2 vec2)

パラメーター

vec2

ToEasyARVector(Vector2Int)

変換します Vector2Int to Vec2I.

public static Vec2I ToEasyARVector(this Vector2Int vec2)

パラメーター

vec2

ToEasyARVector(Vector3)

変換します Vector3 to Vec3F.

public static Vec3F ToEasyARVector(this Vector3 vec3)

パラメーター

vec3

ToUnityAxisSystem(Pose)

変換します from the EasyAR coordinate axis system to the Unity coordinate axis system.

public static Pose ToUnityAxisSystem(this Pose pose)

パラメーター

pose

ToUnityMatrix(Matrix44F)

変換します Matrix44F to Matrix4x4.

public static Matrix4x4 ToUnityMatrix(this Matrix44F matrix44F)

パラメーター

matrix44F

ToUnityPose(Matrix44F)

変換します Matrix44F to Pose and also converts it to the Unity coordinate system. pose must represent a Pose.

public static Pose ToUnityPose(this Matrix44F pose)

パラメーター

pose

ToUnityVector(Vec2F)

変換します Vec2F to Vector2.

public static Vector2 ToUnityVector(this Vec2F vec2)

パラメーター

vec2

ToUnityVector(Vec2I)

変換します Vec2I to Vector2Int.

public static Vector2Int ToUnityVector(this Vec2I vec2)

パラメーター

vec2

ToUnityVector(Vec3F)

変換します Vec3F to Vector3.

public static Vector3 ToUnityVector(this Vec3F vec3)

パラメーター

vec3