Class MixedRealityCameraProfileInspector
Class handles rendering inspector view of MixedRealityCameraProfile object
Inheritance
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Editor
Assembly: cs.temp.dll.dll
Syntax
public class MixedRealityCameraProfileInspector : BaseDataProviderServiceInspector
Methods
GetDataProviderConfiguration(Int32)
Returns direct IMixedRealityServiceConfiguration instance at provided index in target object's array of IMixedRealityServiceConfiguration configurations
Declaration
protected override IMixedRealityServiceConfiguration GetDataProviderConfiguration(int index)
Parameters
Type | Name | Description |
---|---|---|
Int32 | index |
Returns
Type | Description |
---|---|
IMixedRealityServiceConfiguration |
Overrides
GetDataProviderConfigurationList()
Returns SerializedProperty object that wraps references to array of IMixedRealityServiceConfiguration stored on the inspected target object
Declaration
protected override SerializedProperty GetDataProviderConfigurationList()
Returns
Type | Description |
---|---|
SerializedProperty |
Overrides
GetDataProviderConfigurationProperties(SerializedProperty)
Builds BaseDataProviderServiceInspector.ServiceConfigurationProperties container object with SerializedProperty references to associated properties on the supplied IMixedRealityServiceConfiguration reference
Declaration
protected override BaseDataProviderServiceInspector.ServiceConfigurationProperties GetDataProviderConfigurationProperties(SerializedProperty providerEntry)
Parameters
Type | Name | Description |
---|---|---|
SerializedProperty | providerEntry | SerializedProperty reference pointing to IMixedRealityServiceConfiguration instance |
Returns
Type | Description |
---|---|
BaseDataProviderServiceInspector.ServiceConfigurationProperties |
Overrides
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.
Declaration
protected override bool IsProfileInActiveInstance()
Returns
Type | Description |
---|---|
Boolean |
Overrides
OnEnable()
Declaration
protected override void OnEnable()
Overrides
OnInspectorGUI()
Declaration
public override void OnInspectorGUI()