Class CVRInput
Inheritance
System.Object
CVRInput
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
Methods
Declaration
public EVRInputError DecompressSkeletalBoneData(IntPtr pvCompressedBuffer, uint unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t[] pTransformArray)
Parameters
Returns
Declaration
public EVRInputError GetActionHandle(string pchActionName, ref ulong pHandle)
Parameters
Type |
Name |
Description |
System.String |
pchActionName |
|
System.UInt64 |
pHandle |
|
Returns
Declaration
public EVRInputError GetActionOrigins(ulong actionSetHandle, ulong digitalActionHandle, ulong[] originsOut)
Parameters
Type |
Name |
Description |
System.UInt64 |
actionSetHandle |
|
System.UInt64 |
digitalActionHandle |
|
System.UInt64[] |
originsOut |
|
Returns
Declaration
public EVRInputError GetActionSetHandle(string pchActionSetName, ref ulong pHandle)
Parameters
Type |
Name |
Description |
System.String |
pchActionSetName |
|
System.UInt64 |
pHandle |
|
Returns
Declaration
public EVRInputError GetAnalogActionData(ulong action, ref InputAnalogActionData_t pActionData, uint unActionDataSize, ulong ulRestrictToDevice)
Parameters
Type |
Name |
Description |
System.UInt64 |
action |
|
InputAnalogActionData_t |
pActionData |
|
System.UInt32 |
unActionDataSize |
|
System.UInt64 |
ulRestrictToDevice |
|
Returns
Declaration
public EVRInputError GetBoneCount(ulong action, ref uint pBoneCount)
Parameters
Type |
Name |
Description |
System.UInt64 |
action |
|
System.UInt32 |
pBoneCount |
|
Returns
Declaration
public EVRInputError GetBoneHierarchy(ulong action, int[] pParentIndices)
Parameters
Type |
Name |
Description |
System.UInt64 |
action |
|
System.Int32[] |
pParentIndices |
|
Returns
GetBoneName(UInt64, Int32, StringBuilder, UInt32)
Declaration
public EVRInputError GetBoneName(ulong action, int nBoneIndex, StringBuilder pchBoneName, uint unNameBufferSize)
Parameters
Type |
Name |
Description |
System.UInt64 |
action |
|
System.Int32 |
nBoneIndex |
|
System.Text.StringBuilder |
pchBoneName |
|
System.UInt32 |
unNameBufferSize |
|
Returns
Declaration
public EVRInputError GetDigitalActionData(ulong action, ref InputDigitalActionData_t pActionData, uint unActionDataSize, ulong ulRestrictToDevice)
Parameters
Type |
Name |
Description |
System.UInt64 |
action |
|
InputDigitalActionData_t |
pActionData |
|
System.UInt32 |
unActionDataSize |
|
System.UInt64 |
ulRestrictToDevice |
|
Returns
Declaration
public EVRInputError GetInputSourceHandle(string pchInputSourcePath, ref ulong pHandle)
Parameters
Type |
Name |
Description |
System.String |
pchInputSourcePath |
|
System.UInt64 |
pHandle |
|
Returns
GetOriginLocalizedName(UInt64, StringBuilder, UInt32, Int32)
Declaration
public EVRInputError GetOriginLocalizedName(ulong origin, StringBuilder pchNameArray, uint unNameArraySize, int unStringSectionsToInclude)
Parameters
Type |
Name |
Description |
System.UInt64 |
origin |
|
System.Text.StringBuilder |
pchNameArray |
|
System.UInt32 |
unNameArraySize |
|
System.Int32 |
unStringSectionsToInclude |
|
Returns
Declaration
public EVRInputError GetOriginTrackedDeviceInfo(ulong origin, ref InputOriginInfo_t pOriginInfo, uint unOriginInfoSize)
Parameters
Type |
Name |
Description |
System.UInt64 |
origin |
|
InputOriginInfo_t |
pOriginInfo |
|
System.UInt32 |
unOriginInfoSize |
|
Returns
Declaration
public EVRInputError GetPoseActionData(ulong action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, ref InputPoseActionData_t pActionData, uint unActionDataSize, ulong ulRestrictToDevice)
Parameters
Returns
Declaration
public EVRInputError GetSkeletalActionData(ulong action, ref InputSkeletalActionData_t pActionData, uint unActionDataSize)
Parameters
Returns
Declaration
public EVRInputError GetSkeletalBoneData(ulong action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t[] pTransformArray)
Parameters
Returns
Declaration
public EVRInputError GetSkeletalBoneDataCompressed(ulong action, EVRSkeletalMotionRange eMotionRange, IntPtr pvCompressedData, uint unCompressedSize, ref uint punRequiredCompressedSize)
Parameters
Type |
Name |
Description |
System.UInt64 |
action |
|
EVRSkeletalMotionRange |
eMotionRange |
|
System.IntPtr |
pvCompressedData |
|
System.UInt32 |
unCompressedSize |
|
System.UInt32 |
punRequiredCompressedSize |
|
Returns
Declaration
public EVRInputError GetSkeletalReferenceTransforms(ulong action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t[] pTransformArray)
Parameters
Returns
Declaration
public EVRInputError GetSkeletalSummaryData(ulong action, ref VRSkeletalSummaryData_t pSkeletalSummaryData)
Parameters
Returns
Declaration
public EVRInputError GetSkeletalTrackingLevel(ulong action, ref EVRSkeletalTrackingLevel pSkeletalTrackingLevel)
Parameters
Returns
Declaration
public EVRInputError SetActionManifestPath(string pchActionManifestPath)
Parameters
Type |
Name |
Description |
System.String |
pchActionManifestPath |
|
Returns
Declaration
public EVRInputError ShowActionOrigins(ulong actionSetHandle, ulong ulActionHandle)
Parameters
Type |
Name |
Description |
System.UInt64 |
actionSetHandle |
|
System.UInt64 |
ulActionHandle |
|
Returns
Declaration
public EVRInputError ShowBindingsForActionSet(VRActiveActionSet_t[] pSets, uint unSizeOfVRSelectedActionSet_t, ulong originToHighlight)
Parameters
Type |
Name |
Description |
VRActiveActionSet_t[] |
pSets |
|
System.UInt32 |
unSizeOfVRSelectedActionSet_t |
|
System.UInt64 |
originToHighlight |
|
Returns
Declaration
public EVRInputError TriggerHapticVibrationAction(ulong action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, ulong ulRestrictToDevice)
Parameters
Type |
Name |
Description |
System.UInt64 |
action |
|
System.Single |
fStartSecondsFromNow |
|
System.Single |
fDurationSeconds |
|
System.Single |
fFrequency |
|
System.Single |
fAmplitude |
|
System.UInt64 |
ulRestrictToDevice |
|
Returns
Declaration
public EVRInputError UpdateActionState(VRActiveActionSet_t[] pSets, uint unSizeOfVRSelectedActionSet_t)
Parameters
Returns