API reference

DebugMember Class

Extends Attribute
Annotate field, property, functions with this will show in Immersive Debugger panel in runtime.
Without additional parameters specified, by default we're watching fields/properties, and provide a button to call function without parameter.

Constructors

DebugMember ( color )
Signature
Meta.XR.ImmersiveDebugger.DebugMember.DebugMember(DebugColor color=DebugColor.Gray)
Parameters
color: DebugColor

Fields

Category : string
Optional category for a specific tab in Inspector Panel.
Signature
string Meta.XR.ImmersiveDebugger.DebugMember.Category
Color : Color
The color used for DebugGizmo line drawing and inspector row pill icon.
Signature
Color Meta.XR.ImmersiveDebugger.DebugMember.Color
GizmoType : DebugGizmoType
Draw gizmo in space according to the runtime value of the field/property data.
Signature
DebugGizmoType Meta.XR.ImmersiveDebugger.DebugMember.GizmoType
Max : float
Maximum value for the tweak slider.
Signature
float Meta.XR.ImmersiveDebugger.DebugMember.Max
Min : float
Minimum value for the tweak slider.
Signature
float Meta.XR.ImmersiveDebugger.DebugMember.Min
Tweakable : bool
Specify whether this field/property is tweakable, will show control UI in panel.
For now only supports float and use together with Min, Max param.
Signature
bool Meta.XR.ImmersiveDebugger.DebugMember.Tweakable