Show / Hide Table of Contents

    Class InteractableStates

    list of Interactable states and basic comparison

    Inheritance
    Object
    InteractableStateModel
    InteractableStates
    Inherited Members
    InteractableStateModel.currentState
    InteractableStateModel.stateList
    InteractableStateModel.ImportStates(List<State>)
    InteractableStateModel.SetStateOn(Int32)
    InteractableStateModel.SetStateOff(Int32)
    InteractableStateModel.SetStateValue(Int32, Int32)
    InteractableStateModel.SetStateListValue(Int32, Int32)
    InteractableStateModel.GetStateValue(Int32)
    InteractableStateModel.GetState(Int32)
    InteractableStateModel.SetSate(State)
    InteractableStateModel.CurrentState()
    InteractableStateModel.GetBit()
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit.UI
    Assembly: cs.temp.dll.dll
    Syntax
    public class InteractableStates : InteractableStateModel

    Constructors

    InteractableStates()

    Declaration
    public InteractableStates()

    InteractableStates(State)

    Declaration
    public InteractableStates(State defaultState)
    Parameters
    Type Name Description
    State defaultState

    Fields

    allStates

    Declaration
    protected State[] allStates
    Field Value
    Type Description
    State[]

    Methods

    CompareStates()

    Declaration
    public override State CompareStates()
    Returns
    Type Description
    State
    Overrides
    InteractableStateModel.CompareStates()

    GetDefaultStates()

    Returns the default states for InteractableStates. Default states are set on an interactable when it is created and no other list of states is specified. Default States should match "DefaultStates" scriptable object in Interactable

    Declaration
    public virtual List<State> GetDefaultStates()
    Returns
    Type Description
    List<State>

    GetState(InteractableStates.InteractableStateEnum)

    Declaration
    public State GetState(InteractableStates.InteractableStateEnum state)
    Parameters
    Type Name Description
    InteractableStates.InteractableStateEnum state
    Returns
    Type Description
    State

    GetStates()

    Declaration
    public override State[] GetStates()
    Returns
    Type Description
    State[]
    Overrides
    InteractableStateModel.GetStates()

    SetStateOff(InteractableStates.InteractableStateEnum)

    Declaration
    public virtual void SetStateOff(InteractableStates.InteractableStateEnum state)
    Parameters
    Type Name Description
    InteractableStates.InteractableStateEnum state

    SetStateOn(InteractableStates.InteractableStateEnum)

    Declaration
    public virtual void SetStateOn(InteractableStates.InteractableStateEnum state)
    Parameters
    Type Name Description
    InteractableStates.InteractableStateEnum state

    SetStateValue(InteractableStates.InteractableStateEnum, Int32)

    Declaration
    public virtual void SetStateValue(InteractableStates.InteractableStateEnum state, int value)
    Parameters
    Type Name Description
    InteractableStates.InteractableStateEnum state
    Int32 value
    Back to top Generated by DocFX