BaseMixedRealityToolkitConfigurationProfileInspector.RenderProfileHeader Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Helper function to render header correctly for all profiles
C#
protected bool RenderProfileHeader (string title, string description, UnityEngine.Object selectionObject, bool isProfileInitialized = true, Microsoft.MixedReality.Toolkit.Editor.BaseMixedRealityToolkitConfigurationProfileInspector.BackProfileType returnProfileTarget = Microsoft.MixedReality.Toolkit.Editor.BaseMixedRealityToolkitConfigurationProfileInspector+BackProfileType.Configuration);
member this.RenderProfileHeader : string * string * UnityEngine.Object * bool * Microsoft.MixedReality.Toolkit.Editor.BaseMixedRealityToolkitConfigurationProfileInspector.BackProfileType -> bool
Protected Function RenderProfileHeader (title As String, description As String, selectionObject As Object, Optional isProfileInitialized As Boolean = true, Optional returnProfileTarget As BaseMixedRealityToolkitConfigurationProfileInspector.BackProfileType = Microsoft.MixedReality.Toolkit.Editor.BaseMixedRealityToolkitConfigurationProfileInspector+BackProfileType.Configuration) As Boolean
- title
- String
Title of profile
- description
- String
profile tooltip describing purpose
- selectionObject
- UnityEngine.Object
The profile object. Used to re-select the object after MRTK instance is created.
- isProfileInitialized
- Boolean
profile properties are full initialized for rendering
- returnProfileTarget
- BaseMixedRealityToolkitConfigurationProfileInspector.BackProfileType
True if the rest of the profile should be rendered.
Produkt | Versioner |
---|---|
MRTK2 Unity 2018 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0 |
MRTK2 Unity 2019 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |
MRTK2 Unity 2020 | 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |