MLPlane
Module: Planes
#include <ml_planes.h>
Public Attributes
Type | Name |
---|---|
MLVec3f | position |
MLQuaternionf | rotation |
float | width |
float | height |
uint32_t | flags |
MLHandle | id Plane ID. All inner planes within an outer plane will have the same ID (outer plane's ID). These IDs are persistent across plane queries unless a map merge occurs. On a map merge, IDs could be different. |
Detailed Description
struct MLPlane;
A plane with width and height.
Public Attributes Documentation
position
MLVec3f position;
Plane center.
rotation
MLQuaternionf rotation;
Plane rotation.
width
float width;
Plane width.
height
float height;
Plane height.
flags
uint32_t flags;
Flags which describe this plane.
id
MLHandle id;
Plane ID. All inner planes within an outer plane will have the same ID (outer plane's ID). These IDs are persistent across plane queries unless a map merge occurs. On a map merge, IDs could be different.
Type | Description |
---|---|
MLHandle | Integer handle type used to reference many things returned by the API, instead of returning pointers directly. Use MLHandleIsValid() to check if a handle is valid or not. |