Bearbeiten

Freigeben über


BaseMixedRealityToolkitConfigurationProfileInspector.RenderProfileHeader Method

Definition

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

Returns

True if the rest of the profile should be rendered.

Applies to