Class SteamVR_ActionSet_Data
Action sets are logical groupings of actions. Multiple sets can be active at one time.
Inheritance
System.Object
SteamVR_ActionSet_Data
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)
Assembly: Assembly-CSharp.dll
Syntax
public class SteamVR_ActionSet_Data : ISteamVR_ActionSet
Constructors
SteamVR_ActionSet_Data()
Declaration
public SteamVR_ActionSet_Data()
Fields
initialized
Declaration
protected bool initialized
Field Value
Type |
Description |
System.Boolean |
|
rawSetActive
Declaration
protected Dictionary<SteamVR_Input_Sources, bool> rawSetActive
Field Value
rawSetLastChanged
Declaration
protected Dictionary<SteamVR_Input_Sources, float> rawSetLastChanged
Field Value
rawSetPriority
Declaration
protected Dictionary<SteamVR_Input_Sources, int> rawSetPriority
Field Value
Properties
allActions
All actions within this set (including out actions)
Declaration
public SteamVR_Action[] allActions { get; set; }
Property Value
fullPath
The full path to this action set (ex: /actions/in/default)
Declaration
public string fullPath { get; set; }
Property Value
Type |
Description |
System.String |
|
handle
Declaration
public ulong handle { get; set; }
Property Value
Type |
Description |
System.UInt64 |
|
nonVisualInActions
All IN actions within this set that are NOT pose or skeleton actions
Declaration
public ISteamVR_Action_In[] nonVisualInActions { get; set; }
Property Value
outActionArray
All out actions within this set
Declaration
public ISteamVR_Action_Out[] outActionArray { get; set; }
Property Value
poseActions
All pose actions within this set
Declaration
public SteamVR_Action_Pose[] poseActions { get; set; }
Property Value
skeletonActions
All skeleton actions within this set
Declaration
public SteamVR_Action_Skeleton[] skeletonActions { get; set; }
Property Value
usage
Declaration
public string usage { get; set; }
Property Value
Type |
Description |
System.String |
|
visualActions
All pose and skeleton actions within this set
Declaration
public ISteamVR_Action_In[] visualActions { get; set; }
Property Value
Methods
Activate this set so its actions can be called
Declaration
public void Activate(SteamVR_Input_Sources activateForSource = SteamVR_Input_Sources.Any, int priority = 0, bool disableAllOtherActionSets = false)
Parameters
Type |
Name |
Description |
SteamVR_Input_Sources |
activateForSource |
Will activate this action set only for the specified source. Any if you want to activate for everything
|
System.Int32 |
priority |
The priority of this action set. If you have two actions bound to the same input (button) the higher priority set will override the lower priority. If they are the same priority both will execute.
|
System.Boolean |
disableAllOtherActionSets |
Disable all other action sets at the same time
|
Deactivate the action set so its actions can no longer be called
Declaration
public void Deactivate(SteamVR_Input_Sources forSource = SteamVR_Input_Sources.Any)
Parameters
FinishPreInitialize()
Declaration
public void FinishPreInitialize()
GetShortName()
Gets the last part of the path for this action. Removes "actions" and direction.
Declaration
public string GetShortName()
Returns
Type |
Description |
System.String |
|
Returns the last time this action set was changed (set to active or inactive)
Declaration
public float GetTimeLastChanged(SteamVR_Input_Sources source = SteamVR_Input_Sources.Any)
Parameters
Type |
Name |
Description |
SteamVR_Input_Sources |
source |
The device to check. Any means all devices here (not left or right, but all)
|
Returns
Type |
Description |
System.Single |
|
Initialize()
Declaration
Returns whether the set is currently active or not.
Declaration
public bool IsActive(SteamVR_Input_Sources source = SteamVR_Input_Sources.Any)
Parameters
Type |
Name |
Description |
SteamVR_Input_Sources |
source |
The device to check. Any means all devices here (not left or right, but all)
|
Returns
Type |
Description |
System.Boolean |
|
PreInitialize()
Declaration
public void PreInitialize()
Declaration
public bool ReadRawSetActive(SteamVR_Input_Sources inputSource)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public float ReadRawSetLastChanged(SteamVR_Input_Sources inputSource)
Parameters
Returns
Type |
Description |
System.Single |
|
Declaration
public int ReadRawSetPriority(SteamVR_Input_Sources inputSource)
Parameters
Returns
Type |
Description |
System.Int32 |
|
Implements