Bearbeiten

Freigeben über


MixedRealityInputSystemProfileInspector Class

Definition

Class handles rendering inspector view of MixedRealityInputSystemProfile object

public ref class MixedRealityInputSystemProfileInspector : Microsoft::MixedReality::Toolkit::Editor::BaseDataProviderServiceInspector
[UnityEditor.CustomEditor(typeof(Microsoft.MixedReality.Toolkit.Input.MixedRealityInputSystemProfile))]
public class MixedRealityInputSystemProfileInspector : Microsoft.MixedReality.Toolkit.Editor.BaseDataProviderServiceInspector
[<UnityEditor.CustomEditor(typeof(Microsoft.MixedReality.Toolkit.Input.MixedRealityInputSystemProfile))>]
type MixedRealityInputSystemProfileInspector = class
    inherit BaseDataProviderServiceInspector
Public Class MixedRealityInputSystemProfileInspector
Inherits BaseDataProviderServiceInspector
Inheritance
Attributes
UnityEditor.CustomEditorAttribute

Constructors

MixedRealityInputSystemProfileInspector()

Fields

BackProfileDescriptions (Inherited from BaseMixedRealityToolkitConfigurationProfileInspector)

Properties

RenderAsSubProfile (Inherited from BaseMixedRealityToolkitConfigurationProfileInspector)

Methods

AddDataProvider()

Adds a new data provider profile entry (i.e IMixedRealityServiceConfiguration) to array list of target object Utilizes GetDataProviderConfigurationList() to get SerializedProperty object that represents array to insert against

(Inherited from BaseDataProviderServiceInspector)
ApplyProviderConfiguration(Type, BaseDataProviderServiceInspector+ServiceConfigurationProperties)

Applies the given concrete data provider type properties to the provided IMixedRealityServiceConfiguration instance (as represented by BaseDataProviderServiceInspector.ServiceConfigurationProperties). Requires MixedRealityDataProviderAttribute on concrete type class to pull initial values that will be applied to the BaseDataProviderServiceInspector.ServiceConfigurationProperties container SerializedProperties

(Inherited from BaseDataProviderServiceInspector)
Awake() (Inherited from BaseMixedRealityToolkitConfigurationProfileInspector)
CheckEditorPlayMode()

If application is playing, then show warning to the user and disable inspector GUI

(Inherited from BaseMixedRealityToolkitConfigurationProfileInspector)
CheckMixedRealityInputActions()

Check if various input settings are set correctly to read the input actions for the active MRTK instance. If any failures, show appropriate error message

(Inherited from BaseMixedRealityToolkitConfigurationProfileInspector)
DrawBacktrackProfileButton(BaseMixedRealityToolkitConfigurationProfileInspector+BackProfileType) (Inherited from BaseMixedRealityToolkitConfigurationProfileInspector)
DrawBacktrackProfileButton(String, Object)

Renders a button that will take user back to a specified profile object

(Inherited from BaseMixedRealityToolkitConfigurationProfileInspector)
GetDataProviderConfiguration(Int32)

Returns direct IMixedRealityServiceConfiguration instance at provided index in target object's array of IMixedRealityServiceConfiguration configurations

GetDataProviderConfigurationList()

Allows implementations of a IMixedRealityDataProviderAccess system's inspector to provide custom data provider representations for data providers.

GetDataProviderConfigurationProperties(SerializedProperty)

Builds BaseDataProviderServiceInspector.ServiceConfigurationProperties container object with SerializedProperty references to associated properties on the supplied IMixedRealityServiceConfiguration reference

IsProfileInActiveInstance()

Helper function to determine if the current profile is assigned to the active instance of MRTK. In some cases profile data refers to other profile data in the MRTK config profile. In these cases, we don't want to render when the active instance isn't using this profile, because it may produce an inaccurate combination of settings.

IsProfileRequired(SystemType)

Inspect the attributes of the provided system type to determine if a configuration profile is required.

(Inherited from BaseMixedRealityToolkitConfigurationProfileInspector)
OnEnable() UnityEditor.Editor.OnEnable
OnInspectorGUI() UnityEditor.Editor.OnInspectorGUI
RemoveDataProvider(Int32)

Removed given index item from IMixedRealityServiceConfiguration array list. Utilizes GetDataProviderConfigurationList() to get SerializedProperty object that represents array to delete against.

(Inherited from BaseDataProviderServiceInspector)
RenderDataProviderEntry(Int32, GUIContent, Type)

Renders properties of IMixedRealityServiceConfiguration instance at provided index in inspector. Also renders inspector view of data provider's profile object and its contents if applicable and foldout is expanded.

(Inherited from BaseDataProviderServiceInspector)
RenderDataProviderList(GUIContent, GUIContent, String, Type)

Render list of data provider configuration profiles in inspector. Use provided add and remove content labels for the insert/remove buttons Returns true if any property has changed in this render pass, false otherwise

(Inherited from BaseDataProviderServiceInspector)
RenderDocumentation(Object)

Draws a documentation link for the service.

(Inherited from BaseMixedRealityToolkitConfigurationProfileInspector)
RenderMRTKLogoAndSearch()

Render the Mixed Reality Toolkit Logo and search field.

(Inherited from BaseMixedRealityToolkitConfigurationProfileInspector)
RenderProfileHeader(String, String, Object, Boolean, BaseMixedRealityToolkitConfigurationProfileInspector+BackProfileType)

Helper function to render header correctly for all profiles

(Inherited from BaseMixedRealityToolkitConfigurationProfileInspector)

Applies to