Skip to main content
Version: 21 Aug 2024

Common

Common APIs types.

Classes

Name
structMLVec2f
structMLXYZf
Internal structure used to simplify access of MLVec3f. Do not create this structure directly and always use MLVec3f instead.
structMLVec3f
structMLQuaternionf
structMLTransform
structMLMat4f
structMLRectf
structMLRecti
structMLColor32
structMLColor4f
structMLUUID
structMLPose

Types

Name
typedef struct MLVec2fMLVec2f
typedef struct MLXYZfMLXYZf
Internal structure used to simplify access of MLVec3f. Do not create this structure directly and always use MLVec3f instead.
typedef struct MLVec3fMLVec3f
typedef struct MLQuaternionfMLQuaternionf
typedef struct MLTransformMLTransform
typedef struct MLMat4fMLMat4f
typedef struct MLRectfMLRectf
typedef struct MLRectiMLRecti
typedef struct MLColor32MLColor32
typedef struct MLColor4fMLColor4f
typedef struct MLUUIDMLUUID
typedef int64_tMLTime
typedef struct MLPoseMLPose

Types Documentation

MLVec2f

typedef struct MLVec2f MLVec2f;

2D vector represented with X and Y floats.

More Info


MLXYZf

typedef struct MLXYZf MLXYZf;

Internal structure used to simplify access of MLVec3f. Do not create this structure directly and always use MLVec3f instead.

More Info


MLVec3f

typedef struct MLVec3f MLVec3f;

3D vector represented with X, Y, and Z floats.

More Info


MLQuaternionf

typedef struct MLQuaternionf MLQuaternionf;

Quaternion stored as X, Y, Z, W floats.

More Info


MLTransform

typedef struct MLTransform MLTransform;

Information used to transform from one coordinate frame to another.

More Info


MLMat4f

typedef struct MLMat4f MLMat4f;

An arbitrary 4x4 matrix represented with an array of floats.

More Info


MLRectf

typedef struct MLRectf MLRectf;

A 2D float rectangle.

More Info


MLRecti

typedef struct MLRecti MLRecti;

A 2D integer rectangle.

More Info


MLColor32

typedef struct MLColor32 MLColor32;

Color represented by 4 unsigned bytes.

More Info


MLColor4f

typedef struct MLColor4f MLColor4f;

Color represented by 4 floats.

More Info


MLUUID

typedef struct MLUUID MLUUID;

Universally Unique Identifier.

More Info


MLTime

typedef int64_t MLTime;

Represents an ML API wide timestamp in nanoseconds that is not guaranteed to be synced with any system time.


MLPose

typedef struct MLPose MLPose;

Geometric relationship between two coordinate frames.

More Info