Class SteamVR_Action_In_Source_Map<SourceElement>
Inheritance
System.Object
SteamVR_Action_Source_Map<SourceElement>
SteamVR_Action_In_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 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()