Table of Contents

Class APIExtend

네임스페이스
easyar
어셈블리
EasyAR.Sense.dll

EasyAR Sense API 및 Unity API를 확장하여 데이터 변환 등의 작업에 편의를 제공합니다.

public static class APIExtend
상속
APIExtend

메서드

ToEasyARAxisSystem(Pose)

Unity 좌표축 시스템에서 EasyAR 좌표축 시스템으로 변환합니다.

public static Pose ToEasyARAxisSystem(this Pose pose)

매개 변수

pose

ToEasyARMatrix(Matrix4x4)

Matrix4x4Matrix44F로 변환하세요.

public static Matrix44F ToEasyARMatrix(this Matrix4x4 matrix4x4)

매개 변수

matrix4x4

ToEasyARPose(Pose)

PoseMatrix44F로 변환하면서 동시에 EasyAR 좌표계로 변환합니다.

public static Matrix44F ToEasyARPose(this Pose pose)

매개 변수

pose

ToEasyARQuaternion(Quaternion)

QuaternionVec4F로 표현되는 사원수로 변환합니다.

public static Vec4F ToEasyARQuaternion(this Quaternion quat)

매개 변수

quat

ToEasyARVector(Vector2)

Vector2Vec2F로 변환합니다.

public static Vec2F ToEasyARVector(this Vector2 vec2)

매개 변수

vec2

ToEasyARVector(Vector2Int)

Vector2IntVec2I로 변환하는.

public static Vec2I ToEasyARVector(this Vector2Int vec2)

매개 변수

vec2

ToEasyARVector(Vector3)

Vector3Vec3F로 변환합니다.

public static Vec3F ToEasyARVector(this Vector3 vec3)

매개 변수

vec3

ToUnityAxisSystem(Pose)

EasyAR 좌표계 시스템에서 Unity 좌표계 시스템으로 변환합니다.

public static Pose ToUnityAxisSystem(this Pose pose)

매개 변수

pose

ToUnityMatrix(Matrix44F)

Matrix44FMatrix4x4로 변환합니다.

public static Matrix4x4 ToUnityMatrix(this Matrix44F matrix44F)

매개 변수

matrix44F

ToUnityPose(Matrix44F)

Matrix44FPose로 변환하여 Unity 좌표계로 동시에 전환합니다. pose 매개변수는 반드시 Pose를 나타내야 합니다.

public static Pose ToUnityPose(this Matrix44F pose)

매개 변수

pose

ToUnityVector(Vec2F)

Vec2FVector2로 변환합니다.

public static Vector2 ToUnityVector(this Vec2F vec2)

매개 변수

vec2

ToUnityVector(Vec2I)

Vec2IVector2Int로 변환합니다.

public static Vector2Int ToUnityVector(this Vec2I vec2)

매개 변수

vec2

ToUnityVector(Vec3F)

Vec3FVector3로 변환합니다.

public static Vector3 ToUnityVector(this Vec3F vec3)

매개 변수

vec3