Edit

Share via


Theme.GetStates Method

Definition

Caution

Use States.StateList instead

Helper function to convert States scriptableobject into an array of available State values

public:
 cli::array <Microsoft::MixedReality::Toolkit::UI::State ^> ^ GetStates();
[System.Obsolete("Use States.StateList instead")]
public Microsoft.MixedReality.Toolkit.UI.State[] GetStates ();
[<System.Obsolete("Use States.StateList instead")>]
member this.GetStates : unit -> Microsoft.MixedReality.Toolkit.UI.State[]
Public Function GetStates () As State()

Returns

State[]

Array of available State values for currently assigned States property in this Theme

Attributes

Applies to