Editar

Partilhar via


InteractableThemeBase.SetValue Method

Definition

Overloads

SetValue(ThemeStateProperty, ThemePropertyValue)

Instruct theme to set value for current property with ThemePropertyValue value provided

SetValue(ThemeStateProperty, Int32, Single)

Instruct theme to set value for current property with given index state and at given lerp percentage

SetValue(ThemeStateProperty, ThemePropertyValue)

Instruct theme to set value for current property with ThemePropertyValue value provided

protected:
 abstract void SetValue(Microsoft::MixedReality::Toolkit::UI::ThemeStateProperty ^ property, Microsoft::MixedReality::Toolkit::UI::ThemePropertyValue ^ value);
protected abstract void SetValue (Microsoft.MixedReality.Toolkit.UI.ThemeStateProperty property, Microsoft.MixedReality.Toolkit.UI.ThemePropertyValue value);
abstract member SetValue : Microsoft.MixedReality.Toolkit.UI.ThemeStateProperty * Microsoft.MixedReality.Toolkit.UI.ThemePropertyValue -> unit
Protected MustOverride Sub SetValue (property As ThemeStateProperty, value As ThemePropertyValue)

Parameters

property
ThemeStateProperty

property to update value

value
ThemePropertyValue

Value for theme to set

Applies to

SetValue(ThemeStateProperty, Int32, Single)

Instruct theme to set value for current property with given index state and at given lerp percentage

public:
 abstract void SetValue(Microsoft::MixedReality::Toolkit::UI::ThemeStateProperty ^ property, int index, float percentage);
public abstract void SetValue (Microsoft.MixedReality.Toolkit.UI.ThemeStateProperty property, int index, float percentage);
abstract member SetValue : Microsoft.MixedReality.Toolkit.UI.ThemeStateProperty * int * single -> unit
Public MustOverride Sub SetValue (property As ThemeStateProperty, index As Integer, percentage As Single)

Parameters

property
ThemeStateProperty

property to update value

index
Int32

index of state to access array of values

percentage
Single

percentage transition between values

Applies to