Editar

Partilhar via


Microsoft.MixedReality.Toolkit.Utilities.Editor Namespace

Classes

AssemblyDefinition

A class that represents a Unity assembly definition (asmdef) file.

AssetSwapUtility

A scriptable object which contains data and UI functionality to swap object (asset) references within a scene.

AssetSwapUtility.Theme
AssetSwapUtilityEditor

Editor which displays on a AssetSwapUtility scriptable object.

BaseCollectionInspector
BaseLineDataProviderInspector
BaseMousePointerInspector
BezierDataProviderInspector
DependencyWindow
EditorAssemblyReloadManager
EditorPreferences

Convenience class for setting Editor Preferences with Application.productName as key prefix.

EditorProjectUtilities
EllipseLineDataProviderInspector
FileUtilities

A set of utilities for working with files.

GridObjectCollectionInspector
GUIEnabledWrapper

Similar to the scope classes in Unity (i.e VerticalScope), This class is a helper class designed to force enable GUI.enabled over some lifetime. Should be utilized with using{} code block.

InputManagerAxis

Used to define an entire InputManagerAxis, with each variable defined by the same term the Inspector shows.

InspectorField

A set of field/property tags used to define how a property should render in a custom inspector

InspectorFieldsExample

Example of using InspectorFields attributes in a class to create custom inspectors This is on approach for building complex inspectors that need to be customized or the need to overcome lack of polymorphism support They provide a way to create one inspector for multiple classes Example: Create a MonoBehaviour or scriptable object with a custom inspector. The functionality or settings can be changed by assigning a custom script to the object Use InspectorFields to render the custom properties inside the custom script in the inspector When the app launches, copy the properties to the new instance of the script An example of this can be found in Interactables Receivers. Each Receiver is a custom class that renders their properties in the Interactables custom inspector

InspectorFieldsUtility

A collection of helper functions for adding InspectorFields to a custom Inspector

InspectorGenericFields<T>

A set of Inspector fields for setting up properties in a component that can be automatically rendered in a custom inspector

InspectorUIUtility

This class has handy inspector UI utilities and functions.

LinePointerInspector
MixedRealityEditorSettings

Editor runtime controller for showing Project Configuration window and performance checks logging in current Unity project

MixedRealityInspectorUtility

This class has handy inspector utilities and functions.

MixedRealityProfileUtility

This class has utilities and functions for working with profiles in the Unity editor.

MixedRealityProjectConfigurator

Utility class that provides methods to both check and configure Unity project for desired settings

MixedRealityProjectConfiguratorWindow
MixedRealityStylesUtility
MixedRealityToolkitFiles

API for working with MixedRealityToolkit folders contained in the project.

ParabolaPhysicalLineDataProviderInspector
ParabolicConstrainedLineDataProviderInspector
ProjectPreferences

Utility to save preferences that should be saved per project (i.e to source control) across MRTK. Supports primitive preferences bool, int, and float

RectangleLineDataProviderInspector
ReserializeUtility

Adds menu items to automate reserializing specific files in Unity.

ScreenshotUtility

Utility class to aide in taking screenshots via menu items and public APIs. Screenshots can be capture at various resolutions and with the current camera's clear color or a transparent clear color for use in easy post compositing of images.

ScriptingUtilities

A set of utilities to configure script compilation.

ScriptUtilities

A set of utilities to configure script compilation.

SimpleLineDataProviderInspector
SizeUtilities

Editor utility class to discern world space sizing of objects in scene

SpatializerUtilities

Collection of utilities to manage the configured audio spatializer.

SpeechKeywordUtility

Provides helpers for rendering speech keyword dropdowns populated from the MRTK speech profile.

SplineDataProviderInspector
ToolTipConnectorInspector
ToolTipInspector
USBDeviceInfo
USBDeviceListener
UWPCapabilityUtility

Utility to check and configure UWP capability request from MRTK systems

XRSettingsUtilities

Utilities that abstract XR settings functionality

Structs

InspectorFieldData

A reference to the InspectorField and cached info

InspectorPropertySetting

A InspectorField property definition and value.

InspectorUIUtility.ListSettings

A data container for managing scrolling lists or nested drawers in custom inspectors.

VersionDefine

Represents a subclass of a Unity assembly definition (asmdef) file.

Enums

InputManagerAxisType

Used to map AxisType from a useful name to the int value the InputManager wants.

InspectorField.FieldTypes

Property types used for casting and defining property fields in the inspector

MixedRealityProjectConfigurator.Configurations

List of available configurations to check and configure with this utility

MixedRealityToolkitModuleType

Base folder types for modules searched by the MixedRealityToolkitFiles utility.

Delegates

InspectorUIUtility.ListButtonEvent

Delegate for button callbacks, single index

InspectorUIUtility.MultiListButtonEvent

Delegate for button callbacks, multi-index for nested arrays

USBDeviceListener.OnUsbDevicesChanged