Class MagicLeapLoaderUI
Inheritance
MagicLeapLoaderUI
Assembly: UnityEditor.XR.MagicLeap.dll
Syntax
[XRCustomLoaderUI("UnityEngine.XR.MagicLeap.MagicLeapLoader", BuildTargetGroup.Android)]
public class MagicLeapLoaderUI : IXRCustomLoaderUI
Fields
m_IconSize
Declaration
protected Vector2 m_IconSize
Field Value
renderLineHeight
Declaration
protected float renderLineHeight
Field Value
Properties
ActiveBuildTargetGroup
Declaration
public BuildTargetGroup ActiveBuildTargetGroup { get; set; }
Property Value
| Type |
Description |
| BuildTargetGroup |
|
IncompatibleLoaders
Currently, we don't have any Incompatible loaders with Magic Leap.
If we do run into any, we add the names of the loaders here.
Declaration
public string[] IncompatibleLoaders { get; }
Property Value
IsLoaderEnabled
Declaration
public bool IsLoaderEnabled { get; set; }
Property Value
RequiredRenderHeight
Declaration
public float RequiredRenderHeight { get; protected set; }
Property Value
Methods
CalculateRectForContent(float, float, GUIStyle, GUIContent)
Declaration
protected Rect CalculateRectForContent(float xMin, float yMin, GUIStyle style, GUIContent content)
Parameters
| Type |
Name |
Description |
| float |
xMin |
|
| float |
yMin |
|
| GUIStyle |
style |
|
| GUIContent |
content |
|
Returns
OnGUI(Rect)
Declaration
public void OnGUI(Rect rect)
Parameters
| Type |
Name |
Description |
| Rect |
rect |
|
SetRenderedLineHeight(float)
Declaration
public void SetRenderedLineHeight(float height)
Parameters
| Type |
Name |
Description |
| float |
height |
|
Implements