Show / Hide Table of Contents

    Class SteamVR_Action_In_Source_Map<SourceElement>

    Inheritance
    System.Object
    SteamVR_Action_Source_Map
    SteamVR_Action_Source_Map<SourceElement>
    SteamVR_Action_In_Source_Map<SourceElement>
    SteamVR_Action_Boolean_Source_Map
    SteamVR_Action_Pose_Source_Map<Source>
    SteamVR_Action_Single_Source_Map
    SteamVR_Action_Vector2_Source_Map
    SteamVR_Action_Vector3_Source_Map
    Inherited Members
    SteamVR_Action_Source_Map<SourceElement>.Item[SteamVR_Input_Sources]
    SteamVR_Action_Source_Map<SourceElement>.sources
    SteamVR_Action_Source_Map<SourceElement>.Initialize()
    SteamVR_Action_Source_Map<SourceElement>.PreinitializeMap(SteamVR_Input_Sources, SteamVR_Action)
    SteamVR_Action_Source_Map<SourceElement>.GetSourceElementForIndexer(SteamVR_Input_Sources)
    SteamVR_Action_Source_Map.fullPath
    SteamVR_Action_Source_Map.handle
    SteamVR_Action_Source_Map.actionSet
    SteamVR_Action_Source_Map.direction
    SteamVR_Action_Source_Map.action
    SteamVR_Action_Source_Map.PreInitialize(SteamVR_Action, String, Boolean)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ToString()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Valve.VR
    Assembly: Assembly-CSharp.dll
    Syntax
    public class SteamVR_Action_In_Source_Map<SourceElement> : SteamVR_Action_Source_Map<SourceElement> where SourceElement : SteamVR_Action_In_Source, new()
    Type Parameters
    Name Description
    SourceElement

    Fields

    updatingSources

    Declaration
    protected List<SteamVR_Input_Sources> updatingSources
    Field Value
    Type Description
    System.Collections.Generic.List<SteamVR_Input_Sources>

    Methods

    ForceAddSourceToUpdateList(SteamVR_Input_Sources)

    [Should not be called by user code] Forces the system to start updating the data for this action and the specified input source. Should only be used if you've set SteamVR_Action.startUpdatingSourceOnAccess to false.

    Declaration
    public void ForceAddSourceToUpdateList(SteamVR_Input_Sources inputSource)
    Parameters
    Type Name Description
    SteamVR_Input_Sources inputSource

    The device you would like to get data from. Any if the action is not device specific.

    IsUpdating(SteamVR_Input_Sources)

    [Should not be called by user code] Returns whether the system has determined this source should be updated (based on code calls) Should only be used if you've set SteamVR_Action.startUpdatingSourceOnAccess to false.

    Declaration
    public bool IsUpdating(SteamVR_Input_Sources inputSource)
    Parameters
    Type Name Description
    SteamVR_Input_Sources inputSource

    The device you would like to get data from. Any if the action is not device specific.

    Returns
    Type Description
    System.Boolean

    OnAccessSource(SteamVR_Input_Sources)

    Declaration
    protected override void OnAccessSource(SteamVR_Input_Sources inputSource)
    Parameters
    Type Name Description
    SteamVR_Input_Sources inputSource
    Overrides
    Valve.VR.SteamVR_Action_Source_Map<SourceElement>.OnAccessSource(Valve.VR.SteamVR_Input_Sources)

    UpdateValues()

    [Should not be called by user code] Updates the data for all the input sources the system has detected need to be updated.

    Declaration
    public void UpdateValues()
    In This Article
    • Fields
      • updatingSources
    • Methods
      • ForceAddSourceToUpdateList(SteamVR_Input_Sources)
      • IsUpdating(SteamVR_Input_Sources)
      • OnAccessSource(SteamVR_Input_Sources)
      • UpdateValues()
    Back to top Copyright (c) Valve Corporation, All rights reserved.