InteractableColorTheme.TryGetRendererColor(ThemeStateProperty, Color) Method

Definition

Try to get color from the renderer return true, no text components exists, so falling back to base

protected:
 bool TryGetRendererColor(Microsoft::MixedReality::Toolkit::UI::ThemeStateProperty ^ property, [Runtime::InteropServices::Out] UnityEngine::Color % color);
protected bool TryGetRendererColor (Microsoft.MixedReality.Toolkit.UI.ThemeStateProperty property, out UnityEngine.Color color);
member this.TryGetRendererColor : Microsoft.MixedReality.Toolkit.UI.ThemeStateProperty * Color -> bool
Protected Function TryGetRendererColor (property As ThemeStateProperty, ByRef color As Color) As Boolean

Parameters

color
UnityEngine.Color

Color to try to set

Returns

Boolean

true if successfully set color on Renderer

Applies to