BaseMixedRealityProfileInspector.RenderFoldout 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.
Render Bold/HelpBox style Foldout
protected static void RenderFoldout (ref bool currentState, string title, Action renderContent, string preferenceKey = default);
static member RenderFoldout : bool * string * Action * string -> unit
Protected Shared Sub RenderFoldout (ByRef currentState As Boolean, title As String, renderContent As Action, Optional preferenceKey As String = Nothing)
Parameters
- currentState
- Boolean
reference bool for current visibility state of foldout
- title
- String
Title in foldout
- renderContent
- Action
code to execute to render inside of foldout
- preferenceKey
- String
optional argument, current show/hide state will be tracked associated with provided preference key