BaseMixedRealityToolkitConfigurationProfileInspector.RenderProfileHeader Method
Definition
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
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
Parameters
- 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
Returns
True if the rest of the profile should be rendered.