Class DashboardCommand
The DashboardCommand class provides a proxy layer between interactive elements (e.g. buttons) and the actions that need to be performed (e.g. WorldLockingManager perform a merge).
Namespace: Microsoft.MixedReality.WorldLocking.Examples
Assembly: cs.temp.dll.dll
Syntax
public class DashboardCommand : MonoBehaviour
Properties
AnchorVisualization
Toggle anchor visualization.
Declaration
public bool AnchorVisualization { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
AutoMerge
Toggle automatic merging whenever indicated by underlying system.
Declaration
public bool AutoMerge { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
AutoRefreeze
Toggle automatic refreezing whenever indicated by underlying system.
Declaration
public bool AutoRefreeze { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
AutoSave
Toggle automatic saving of state for later restore.
Declaration
public bool AutoSave { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
HasSpatialMap
Return whether there is an available frozen spatial mapping setup and attached.
Declaration
public bool HasSpatialMap { get; }
Property Value
Type | Description |
---|---|
Boolean |
InfoEnabled
Toggle info display.
Declaration
public bool InfoEnabled { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
ManagerEnabled
Whether the WorldLockingManager is actively stabilizing space or being bypassed.
Declaration
public bool ManagerEnabled { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
MetricsEnabled
Toggle Metrics display
Declaration
public bool MetricsEnabled { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
SpatialMapDisplayEnabled
Toggle whether the spatial mapping mesh is displayed.
Declaration
public bool SpatialMapDisplayEnabled { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
StateEnabled
Toggle state display
Declaration
public bool StateEnabled { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
StatusEnabled
Toggle status display
Declaration
public bool StatusEnabled { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
Load()
Load the last frozen world state, overwriting current state.
Declaration
public void Load()
Merge()
Perform a merge.
Declaration
public void Merge()
Refreeze()
Perform a refreeze
Declaration
public void Refreeze()
Reset()
Reset the frozen world state to a starting condition.
Declaration
public void Reset()
Save()
Save current frozen world state.
Declaration
public void Save()
ToggleGui()
Declaration
public void ToggleGui()
ToggleManager()
Declaration
public void ToggleManager()