Class SteamVR_Action_Source_Map<SourceElement>
Inheritance
System.Object
    
    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<SourceElement> : SteamVR_Action_Source_Map where SourceElement : SteamVR_Action_Source, new()
  Type Parameters
| Name | Description | 
|---|---|
| SourceElement | 
Fields
sources
Declaration
protected Dictionary<SteamVR_Input_Sources, SourceElement> sources
  Field Value
| Type | Description | 
|---|---|
| System.Collections.Generic.Dictionary<SteamVR_Input_Sources, SourceElement> | 
Properties
Item[SteamVR_Input_Sources]
Gets a reference to the action restricted to a certain input source. LeftHand or RightHand for example.
Declaration
public SourceElement this[SteamVR_Input_Sources inputSource] { get; }
  Parameters
| Type | Name | Description | 
|---|---|---|
| SteamVR_Input_Sources | inputSource | The device you would like data from  | 
      
Property Value
| Type | Description | 
|---|---|
| SourceElement | 
Methods
GetSourceElementForIndexer(SteamVR_Input_Sources)
Declaration
protected virtual SourceElement GetSourceElementForIndexer(SteamVR_Input_Sources inputSource)
  Parameters
| Type | Name | Description | 
|---|---|---|
| SteamVR_Input_Sources | inputSource | 
Returns
| Type | Description | 
|---|---|
| SourceElement | 
Initialize()
[Should not be called by user code] Initializes the individual sources as well as the base map itself. Gets the handle for the action from SteamVR and does any other SteamVR related setup that needs to be done
Declaration
public override void Initialize()
  Overrides
OnAccessSource(SteamVR_Input_Sources)
Declaration
protected virtual void OnAccessSource(SteamVR_Input_Sources inputSource)
  Parameters
| Type | Name | Description | 
|---|---|---|
| SteamVR_Input_Sources | inputSource | 
PreinitializeMap(SteamVR_Input_Sources, SteamVR_Action)
Declaration
protected override void PreinitializeMap(SteamVR_Input_Sources inputSource, SteamVR_Action wrappingAction)
  Parameters
| Type | Name | Description | 
|---|---|---|
| SteamVR_Input_Sources | inputSource | |
| SteamVR_Action | wrappingAction |