Show / Hide Table of Contents

    Class SteamVR_Action_Source_Map

    Inheritance
    System.Object
    SteamVR_Action_Source_Map
    SteamVR_Action_Source_Map<SourceElement>
    Inherited Members
    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 abstract class SteamVR_Action_Source_Map

    Fields

    action

    The base SteamVR_Action this map corresponds to

    Declaration
    public SteamVR_Action action
    Field Value
    Type Description
    SteamVR_Action

    Properties

    actionSet

    The ActionSet this action is contained within

    Declaration
    public SteamVR_ActionSet actionSet { get; protected set; }
    Property Value
    Type Description
    SteamVR_ActionSet

    direction

    The action direction of this action (in for input - most actions, out for output - haptics)

    Declaration
    public SteamVR_ActionDirections direction { get; protected set; }
    Property Value
    Type Description
    SteamVR_ActionDirections

    fullPath

    The full string path for this action (from the action manifest)

    Declaration
    public string fullPath { get; protected set; }
    Property Value
    Type Description
    System.String

    handle

    The underlying handle for this action used for native SteamVR Input calls. Retrieved on Initialization from SteamVR.

    Declaration
    public ulong handle { get; protected set; }
    Property Value
    Type Description
    System.UInt64

    Methods

    Initialize()

    [Should not be called by user code] Initializes the handle for the action and any other related SteamVR data.

    Declaration
    public virtual void Initialize()

    PreInitialize(SteamVR_Action, String, Boolean)

    Declaration
    public virtual void PreInitialize(SteamVR_Action wrappingAction, string actionPath, bool throwErrors = true)
    Parameters
    Type Name Description
    SteamVR_Action wrappingAction
    System.String actionPath
    System.Boolean throwErrors

    PreinitializeMap(SteamVR_Input_Sources, SteamVR_Action)

    [Should not be called by user code] Sets up the internals of the action source before SteamVR has been initialized.

    Declaration
    protected abstract void PreinitializeMap(SteamVR_Input_Sources inputSource, SteamVR_Action wrappingAction)
    Parameters
    Type Name Description
    SteamVR_Input_Sources inputSource
    SteamVR_Action wrappingAction
    In This Article
    • Fields
      • action
    • Properties
      • actionSet
      • direction
      • fullPath
      • handle
    • Methods
      • Initialize()
      • PreInitialize(SteamVR_Action, String, Boolean)
      • PreinitializeMap(SteamVR_Input_Sources, SteamVR_Action)
    Back to top Copyright (c) Valve Corporation, All rights reserved.