Common
Common APIs types.
Classes
| Name | |
|---|---|
| struct | MLVec2f |
| struct | MLXYZf Internal structure used to simplify access of MLVec3f. Do not create this structure directly and always use MLVec3f instead. |
| struct | MLVec3f |
| struct | MLQuaternionf |
| struct | MLTransform |
| struct | MLMat4f |
| struct | MLRectf |
| struct | MLRecti |
| struct | MLColor32 |
| struct | MLColor4f |
| struct | MLUUID |
| struct | MLPose |
Types
| Name | |
|---|---|
| typedef struct MLVec2f | MLVec2f |
| typedef struct MLXYZf | MLXYZf Internal structure used to simplify access of MLVec3f. Do not create this structure directly and always use MLVec3f instead. |
| typedef struct MLVec3f | MLVec3f |
| typedef struct MLQuaternionf | MLQuaternionf |
| typedef struct MLTransform | MLTransform |
| typedef struct MLMat4f | MLMat4f |
| typedef struct MLRectf | MLRectf |
| typedef struct MLRecti | MLRecti |
| typedef struct MLColor32 | MLColor32 |
| typedef struct MLColor4f | MLColor4f |
| typedef struct MLUUID | MLUUID |
| typedef int64_t | MLTime |
| typedef struct MLPose | MLPose |
Types Documentation
MLVec2f
typedef struct MLVec2f MLVec2f;
2D vector represented with X and Y floats.
MLXYZf
typedef struct MLXYZf MLXYZf;
Internal structure used to simplify access of MLVec3f. Do not create this structure directly and always use MLVec3f instead.
MLVec3f
typedef struct MLVec3f MLVec3f;
3D vector represented with X, Y, and Z floats.
MLQuaternionf
typedef struct MLQuaternionf MLQuaternionf;
Quaternion stored as X, Y, Z, W floats.
MLTransform
typedef struct MLTransform MLTransform;
Information used to transform from one coordinate frame to another.
MLMat4f
typedef struct MLMat4f MLMat4f;
An arbitrary 4x4 matrix represented with an array of floats.
MLRectf
typedef struct MLRectf MLRectf;
A 2D float rectangle.
MLRecti
typedef struct MLRecti MLRecti;
A 2D integer rectangle.
MLColor32
typedef struct MLColor32 MLColor32;
Color represented by 4 unsigned bytes.
MLColor4f
typedef struct MLColor4f MLColor4f;
Color represented by 4 floats.
MLUUID
typedef struct MLUUID MLUUID;
Universally Unique Identifier.
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.