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 IMixed
Declaration
protected override IMixedRealityServiceConfiguration GetDataProviderConfiguration(int index)
Parameters
Type | Name | Description |
---|---|---|
Int32 | index |
Returns
Type | Description |
---|---|
IMixed |
Overrides
GetDataProviderConfigurationList()
Returns SerializedProperty object that wraps references to array of IMixed
Declaration
protected override SerializedProperty GetDataProviderConfigurationList()
Returns
Type | Description |
---|---|
Serialized |
Overrides
GetDataProviderConfigurationProperties(SerializedProperty)
Builds Base
Declaration
protected override BaseDataProviderServiceInspector.ServiceConfigurationProperties GetDataProviderConfigurationProperties(SerializedProperty providerEntry)
Parameters
Type | Name | Description |
---|---|---|
Serialized |
providerEntry | SerializedProperty reference pointing to IMixed |
Returns
Type | Description |
---|---|
Base |
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()