Method | Description | |
---|---|---|
DoesPlaneHaveFlag ( UnityEngine.XR.MagicLeap.MLWorldPlane plane, OrientationFlags flag ) : bool |
Utility function used to determine if the passed in MLWorldPlane object's flags contain the passed in OrientationFlags.
|
|
DoesPlaneHaveFlag ( UnityEngine.XR.MagicLeap.MLWorldPlane plane, SemanticFlags flag ) : bool |
Utility function used to determine if the passed in MLWorldPlane object's flags contain the passed in SemanticFlags.
|
|
OnDisable ( ) : void |
Stops and destroys plane polling
|
|
OnEnable ( ) : void |
Initializes variables and makes sure they started correctly
|
|
OnValidate ( ) : void | ||
Update ( ) : void |
Updates planes
|
Method | Description | |
---|---|---|
HandleOnReceivedPlanes ( UnityEngine.XR.MagicLeap.MLResult result, Array planes, Array boundaries ) : void |
Handles the result that is recieved from the query to the Planes API. The resulting status of the query The planes recieved from the query The boundaries recieved from the query
|
|
QueryPlanes ( ) : bool |
Queries the Planes API with all of the set query flags and parameters and sets the Planes[] when finished. Based on the query flags that are passed in, extraction and calculation times may vary.
|
public static DoesPlaneHaveFlag ( UnityEngine.XR.MagicLeap.MLWorldPlane plane, OrientationFlags flag ) : bool | ||
plane | UnityEngine.XR.MagicLeap.MLWorldPlane | The MLWorldPlane object to be checked |
flag | OrientationFlags | The OrientationFlags to be checked |
return | bool |
public static DoesPlaneHaveFlag ( UnityEngine.XR.MagicLeap.MLWorldPlane plane, SemanticFlags flag ) : bool | ||
plane | UnityEngine.XR.MagicLeap.MLWorldPlane | The MLWorldPlane object to be checked |
flag | SemanticFlags | The SemanticFlags to be checked |
return | bool |