Show / Hide Table of Contents

    Class SteamVR_Action_Vector3

    Inheritance
    System.Object
    SteamVR_Action
    SteamVR_Action<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>
    SteamVR_Action_In<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>
    SteamVR_Action_Vector3
    Implements
    System.IEquatable<SteamVR_Action>
    ISteamVR_Action_In
    ISteamVR_Action
    ISteamVR_Action_Vector3
    ISteamVR_Action_In_Source
    ISteamVR_Action_Source
    UnityEngine.ISerializationCallbackReceiver
    Inherited Members
    SteamVR_Action_In<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.changed
    SteamVR_Action_In<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.lastChanged
    SteamVR_Action_In<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.changedTime
    SteamVR_Action_In<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.updateTime
    SteamVR_Action_In<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.activeOrigin
    SteamVR_Action_In<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.lastActiveOrigin
    SteamVR_Action_In<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.activeDevice
    SteamVR_Action_In<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.trackedDeviceIndex
    SteamVR_Action_In<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.renderModelComponentName
    SteamVR_Action_In<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.localizedOriginName
    SteamVR_Action_In<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.UpdateValues()
    SteamVR_Action_In<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.GetRenderModelComponentName(SteamVR_Input_Sources)
    SteamVR_Action_In<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.GetActiveDevice(SteamVR_Input_Sources)
    SteamVR_Action_In<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.GetDeviceIndex(SteamVR_Input_Sources)
    SteamVR_Action_In<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.GetChanged(SteamVR_Input_Sources)
    SteamVR_Action_In<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.GetTimeLastChanged(SteamVR_Input_Sources)
    SteamVR_Action_In<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.GetLocalizedOriginPart(SteamVR_Input_Sources, EVRInputStringBits[])
    SteamVR_Action_In<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.GetLocalizedOrigin(SteamVR_Input_Sources)
    SteamVR_Action_In<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.IsUpdating(SteamVR_Input_Sources)
    SteamVR_Action_In<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.ForceAddSourceToUpdateList(SteamVR_Input_Sources)
    SteamVR_Action<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.sourceMap
    SteamVR_Action<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.Item[SteamVR_Input_Sources]
    SteamVR_Action<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.fullPath
    SteamVR_Action<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.handle
    SteamVR_Action<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.actionSet
    SteamVR_Action<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.direction
    SteamVR_Action<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.active
    SteamVR_Action<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.lastActive
    SteamVR_Action<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.activeBinding
    SteamVR_Action<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.lastActiveBinding
    SteamVR_Action<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.initialized
    SteamVR_Action<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.PreInitialize(String)
    SteamVR_Action<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.CreateUninitialized(String, Boolean)
    SteamVR_Action<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.CreateUninitialized(String, SteamVR_ActionDirections, String, Boolean)
    SteamVR_Action<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.TryNeedsInitData()
    SteamVR_Action<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.Initialize(Boolean, Boolean)
    SteamVR_Action<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.GetSourceMap()
    SteamVR_Action<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.InitializeCopy(String, SteamVR_Action_Source_Map)
    SteamVR_Action<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.InitAfterDeserialize()
    SteamVR_Action<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.GetActive(SteamVR_Input_Sources)
    SteamVR_Action<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.GetActiveBinding(SteamVR_Input_Sources)
    SteamVR_Action<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.GetLastActive(SteamVR_Input_Sources)
    SteamVR_Action<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>.GetLastActiveBinding(SteamVR_Input_Sources)
    SteamVR_Action.actionPath
    SteamVR_Action.needsReinit
    SteamVR_Action.startUpdatingSourceOnAccess
    SteamVR_Action.Create<CreateType>(String)
    SteamVR_Action.CreateUninitialized<CreateType>(String, SteamVR_ActionDirections, String, Boolean)
    SteamVR_Action.CreateUninitialized<CreateType>(String, Boolean)
    SteamVR_Action.GetCopy<CreateType>()
    SteamVR_Action.TryNeedsInitData()
    SteamVR_Action.InitializeCopy(String, SteamVR_Action_Source_Map)
    SteamVR_Action.fullPath
    SteamVR_Action.handle
    SteamVR_Action.actionSet
    SteamVR_Action.direction
    SteamVR_Action.setActive
    SteamVR_Action.active
    SteamVR_Action.activeBinding
    SteamVR_Action.lastActive
    SteamVR_Action.lastActiveBinding
    SteamVR_Action.PreInitialize(String)
    SteamVR_Action.CreateUninitialized(String, Boolean)
    SteamVR_Action.CreateUninitialized(String, SteamVR_ActionDirections, String, Boolean)
    SteamVR_Action.Initialize(Boolean, Boolean)
    SteamVR_Action.GetTimeLastChanged(SteamVR_Input_Sources)
    SteamVR_Action.GetSourceMap()
    SteamVR_Action.GetActive(SteamVR_Input_Sources)
    SteamVR_Action.GetSetActive(SteamVR_Input_Sources)
    SteamVR_Action.GetActiveBinding(SteamVR_Input_Sources)
    SteamVR_Action.GetLastActive(SteamVR_Input_Sources)
    SteamVR_Action.GetLastActiveBinding(SteamVR_Input_Sources)
    SteamVR_Action.GetPath()
    SteamVR_Action.IsUpdating(SteamVR_Input_Sources)
    SteamVR_Action.GetHashCode()
    SteamVR_Action.Equals(SteamVR_Action)
    SteamVR_Action.Equals(Object)
    SteamVR_Action.FindExistingActionForPartialPath(String)
    SteamVR_Action.GetShortName()
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ToString()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Valve.VR
    Assembly: Assembly-CSharp.dll
    Syntax
    [Serializable]
    public class SteamVR_Action_Vector3 : SteamVR_Action_In<SteamVR_Action_Vector3_Source_Map, SteamVR_Action_Vector3_Source>, IEquatable<SteamVR_Action>, ISteamVR_Action_In, ISteamVR_Action, ISteamVR_Action_Vector3, ISteamVR_Action_In_Source, ISteamVR_Action_Source, ISerializationCallbackReceiver

    Constructors

    SteamVR_Action_Vector3()

    Declaration
    public SteamVR_Action_Vector3()

    Properties

    axis

    [Shortcut to: SteamVR_Input_Sources.Any] The current Vector3 value of the action. Note: Will only return non-zero if the action is also active.

    Declaration
    public Vector3 axis { get; }
    Property Value
    Type Description
    UnityEngine.Vector3

    delta

    [Shortcut to: SteamVR_Input_Sources.Any] The Vector3 value difference between this update and the previous update. Note: Will only return non-zero if the action is also active.

    Declaration
    public Vector3 delta { get; }
    Property Value
    Type Description
    UnityEngine.Vector3

    lastAxis

    [Shortcut to: SteamVR_Input_Sources.Any] The Vector3 value of the action from the previous update. Note: Will only return non-zero if the action is also active.

    Declaration
    public Vector3 lastAxis { get; }
    Property Value
    Type Description
    UnityEngine.Vector3

    lastDelta

    [Shortcut to: SteamVR_Input_Sources.Any] The Vector3 value difference between the previous update and update before that. Note: Will only return non-zero if the action is also active.

    Declaration
    public Vector3 lastDelta { get; }
    Property Value
    Type Description
    UnityEngine.Vector3

    Methods

    AddOnActiveBindingChangeListener(SteamVR_Action_Vector3.ActiveChangeHandler, SteamVR_Input_Sources)

    Executes a function when the active state of this action (with the specified inputSource) changes. This happens when the action is bound or unbound

    Declaration
    public void AddOnActiveBindingChangeListener(SteamVR_Action_Vector3.ActiveChangeHandler functionToCall, SteamVR_Input_Sources inputSource)
    Parameters
    Type Name Description
    SteamVR_Action_Vector3.ActiveChangeHandler functionToCall

    A local function that receives the boolean action who's active state changes and the corresponding input source

    SteamVR_Input_Sources inputSource

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

    AddOnActiveChangeListener(SteamVR_Action_Vector3.ActiveChangeHandler, SteamVR_Input_Sources)

    Executes a function when the functional active state of this action (with the specified inputSource) changes. This happens when the action is bound or unbound, or when the ActionSet changes state.

    Declaration
    public void AddOnActiveChangeListener(SteamVR_Action_Vector3.ActiveChangeHandler functionToCall, SteamVR_Input_Sources inputSource)
    Parameters
    Type Name Description
    SteamVR_Action_Vector3.ActiveChangeHandler functionToCall

    A local function that receives the boolean action who's active state changes and the corresponding input source

    SteamVR_Input_Sources inputSource

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

    AddOnAxisListener(SteamVR_Action_Vector3.AxisHandler, SteamVR_Input_Sources)

    Executes a function when the Vector3 value of the action is non-zero.

    Declaration
    public void AddOnAxisListener(SteamVR_Action_Vector3.AxisHandler functionToCall, SteamVR_Input_Sources inputSource)
    Parameters
    Type Name Description
    SteamVR_Action_Vector3.AxisHandler functionToCall

    A local function that receives the boolean action who's state has changed, the corresponding input source, and the new value

    SteamVR_Input_Sources inputSource

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

    AddOnChangeListener(SteamVR_Action_Vector3.ChangeHandler, SteamVR_Input_Sources)

    Executes a function when the axis changes by more than the specified changeTolerance

    Declaration
    public void AddOnChangeListener(SteamVR_Action_Vector3.ChangeHandler functionToCall, SteamVR_Input_Sources inputSource)
    Parameters
    Type Name Description
    SteamVR_Action_Vector3.ChangeHandler functionToCall

    A local function that receives the boolean action who's state has changed, the corresponding input source, and the new value

    SteamVR_Input_Sources inputSource

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

    AddOnUpdateListener(SteamVR_Action_Vector3.UpdateHandler, SteamVR_Input_Sources)

    Executes a function when the state of this action (with the specified inputSource) is updated.

    Declaration
    public void AddOnUpdateListener(SteamVR_Action_Vector3.UpdateHandler functionToCall, SteamVR_Input_Sources inputSource)
    Parameters
    Type Name Description
    SteamVR_Action_Vector3.UpdateHandler functionToCall

    A local function that receives the boolean action who's state has changed, the corresponding input source, and the new value

    SteamVR_Input_Sources inputSource

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

    GetAxis(SteamVR_Input_Sources)

    The current Vector3 value of the action

    Declaration
    public Vector3 GetAxis(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
    UnityEngine.Vector3

    GetAxisDelta(SteamVR_Input_Sources)

    The Vector3 value difference between this update and the previous update.

    Declaration
    public Vector3 GetAxisDelta(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
    UnityEngine.Vector3

    GetLastAxis(SteamVR_Input_Sources)

    The Vector3 value of the action from the previous update.

    Declaration
    public Vector3 GetLastAxis(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
    UnityEngine.Vector3

    GetLastAxisDelta(SteamVR_Input_Sources)

    The Vector3 value difference between the previous update and update before that.

    Declaration
    public Vector3 GetLastAxisDelta(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
    UnityEngine.Vector3

    RemoveOnActiveBindingChangeListener(SteamVR_Action_Vector3.ActiveChangeHandler, SteamVR_Input_Sources)

    Stops executing the function setup by the corresponding AddListener

    Declaration
    public void RemoveOnActiveBindingChangeListener(SteamVR_Action_Vector3.ActiveChangeHandler functionToStopCalling, SteamVR_Input_Sources inputSource)
    Parameters
    Type Name Description
    SteamVR_Action_Vector3.ActiveChangeHandler functionToStopCalling

    The local function that you've setup to receive update events

    SteamVR_Input_Sources inputSource

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

    RemoveOnActiveChangeListener(SteamVR_Action_Vector3.ActiveChangeHandler, SteamVR_Input_Sources)

    Stops executing a function when the functional active state of this action (with the specified inputSource) changes. This happens when the action is bound or unbound, or when the ActionSet changes state.

    Declaration
    public void RemoveOnActiveChangeListener(SteamVR_Action_Vector3.ActiveChangeHandler functionToStopCalling, SteamVR_Input_Sources inputSource)
    Parameters
    Type Name Description
    SteamVR_Action_Vector3.ActiveChangeHandler functionToStopCalling

    The local function that you've setup to receive update events

    SteamVR_Input_Sources inputSource

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

    RemoveOnAxisListener(SteamVR_Action_Vector3.AxisHandler, SteamVR_Input_Sources)

    Stops executing the function setup by the corresponding AddListener

    Declaration
    public void RemoveOnAxisListener(SteamVR_Action_Vector3.AxisHandler functionToStopCalling, SteamVR_Input_Sources inputSource)
    Parameters
    Type Name Description
    SteamVR_Action_Vector3.AxisHandler functionToStopCalling

    The local function that you've setup to receive update events

    SteamVR_Input_Sources inputSource

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

    RemoveOnChangeListener(SteamVR_Action_Vector3.ChangeHandler, SteamVR_Input_Sources)

    Stops executing the function setup by the corresponding AddListener

    Declaration
    public void RemoveOnChangeListener(SteamVR_Action_Vector3.ChangeHandler functionToStopCalling, SteamVR_Input_Sources inputSource)
    Parameters
    Type Name Description
    SteamVR_Action_Vector3.ChangeHandler functionToStopCalling

    The local function that you've setup to receive on change events

    SteamVR_Input_Sources inputSource

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

    RemoveOnUpdateListener(SteamVR_Action_Vector3.UpdateHandler, SteamVR_Input_Sources)

    Stops executing the function setup by the corresponding AddListener

    Declaration
    public void RemoveOnUpdateListener(SteamVR_Action_Vector3.UpdateHandler functionToStopCalling, SteamVR_Input_Sources inputSource)
    Parameters
    Type Name Description
    SteamVR_Action_Vector3.UpdateHandler functionToStopCalling

    The local function that you've setup to receive update events

    SteamVR_Input_Sources inputSource

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

    Events

    onActiveBindingChange

    [Shortcut to: SteamVR_Input_Sources.Any] Event fires when the active state of the binding changes

    Declaration
    public event SteamVR_Action_Vector3.ActiveChangeHandler onActiveBindingChange
    Event Type
    Type Description
    SteamVR_Action_Vector3.ActiveChangeHandler

    onActiveChange

    [Shortcut to: SteamVR_Input_Sources.Any] Event fires when the active state (ActionSet active and binding active) changes

    Declaration
    public event SteamVR_Action_Vector3.ActiveChangeHandler onActiveChange
    Event Type
    Type Description
    SteamVR_Action_Vector3.ActiveChangeHandler

    onAxis

    [Shortcut to: SteamVR_Input_Sources.Any] This event will fire whenever the Vector3 value of the action is non-zero

    Declaration
    public event SteamVR_Action_Vector3.AxisHandler onAxis
    Event Type
    Type Description
    SteamVR_Action_Vector3.AxisHandler

    onChange

    [Shortcut to: SteamVR_Input_Sources.Any] This event fires whenever the axis changes by more than the specified changeTolerance

    Declaration
    public event SteamVR_Action_Vector3.ChangeHandler onChange
    Event Type
    Type Description
    SteamVR_Action_Vector3.ChangeHandler

    onUpdate

    [Shortcut to: SteamVR_Input_Sources.Any] This event fires whenever the action is updated

    Declaration
    public event SteamVR_Action_Vector3.UpdateHandler onUpdate
    Event Type
    Type Description
    SteamVR_Action_Vector3.UpdateHandler

    Explicit Interface Implementations

    ISerializationCallbackReceiver.OnAfterDeserialize()

    Declaration
    void ISerializationCallbackReceiver.OnAfterDeserialize()

    ISerializationCallbackReceiver.OnBeforeSerialize()

    Declaration
    void ISerializationCallbackReceiver.OnBeforeSerialize()

    Implements

    System.IEquatable<T>
    ISteamVR_Action_In
    ISteamVR_Action
    ISteamVR_Action_Vector3
    ISteamVR_Action_In_Source
    ISteamVR_Action_Source
    UnityEngine.ISerializationCallbackReceiver
    In This Article
    • Constructors
      • SteamVR_Action_Vector3()
    • Properties
      • axis
      • delta
      • lastAxis
      • lastDelta
    • Methods
      • AddOnActiveBindingChangeListener(SteamVR_Action_Vector3.ActiveChangeHandler, SteamVR_Input_Sources)
      • AddOnActiveChangeListener(SteamVR_Action_Vector3.ActiveChangeHandler, SteamVR_Input_Sources)
      • AddOnAxisListener(SteamVR_Action_Vector3.AxisHandler, SteamVR_Input_Sources)
      • AddOnChangeListener(SteamVR_Action_Vector3.ChangeHandler, SteamVR_Input_Sources)
      • AddOnUpdateListener(SteamVR_Action_Vector3.UpdateHandler, SteamVR_Input_Sources)
      • GetAxis(SteamVR_Input_Sources)
      • GetAxisDelta(SteamVR_Input_Sources)
      • GetLastAxis(SteamVR_Input_Sources)
      • GetLastAxisDelta(SteamVR_Input_Sources)
      • RemoveOnActiveBindingChangeListener(SteamVR_Action_Vector3.ActiveChangeHandler, SteamVR_Input_Sources)
      • RemoveOnActiveChangeListener(SteamVR_Action_Vector3.ActiveChangeHandler, SteamVR_Input_Sources)
      • RemoveOnAxisListener(SteamVR_Action_Vector3.AxisHandler, SteamVR_Input_Sources)
      • RemoveOnChangeListener(SteamVR_Action_Vector3.ChangeHandler, SteamVR_Input_Sources)
      • RemoveOnUpdateListener(SteamVR_Action_Vector3.UpdateHandler, SteamVR_Input_Sources)
    • Events
      • onActiveBindingChange
      • onActiveChange
      • onAxis
      • onChange
      • onUpdate
    • Explicit Interface Implementations
      • ISerializationCallbackReceiver.OnAfterDeserialize()
      • ISerializationCallbackReceiver.OnBeforeSerialize()
    • Implements
    Back to top Copyright (c) Valve Corporation, All rights reserved.