FingerPalmGrabAPI
()
|
Signature
Oculus.Interaction.GrabAPI.FingerPalmGrabAPI.FingerPalmGrabAPI() |
GetConfigParamFloat
(
paramId
)
|
Gets the current value of paramId .
Signature
float Oculus.Interaction.GrabAPI.FingerPalmGrabAPI.GetConfigParamFloat(PalmGrabParamID paramId) Parameters paramId: PalmGrabParamIDÂ
The PalmGrabParamID to get the value of
Returns floatÂ
The current value of paramId |
GetConfigParamVec3
(
paramId
)
|
Gets the current value of paramId .
Signature
Vector3 Oculus.Interaction.GrabAPI.FingerPalmGrabAPI.GetConfigParamVec3(PalmGrabParamID paramId) Parameters paramId: PalmGrabParamIDÂ
The PalmGrabParamID to get the value of
Returns Vector3Â
The current value of paramId |
GetFingerGrabScore
(
finger
)
|
Implementation of IFingerAPI.GetFingerGrabScore(HandFinger); for details, please refer to the related documentation provided for that property.
Signature
float Oculus.Interaction.GrabAPI.FingerPalmGrabAPI.GetFingerGrabScore(HandFinger finger) Parameters finger: HandFingerReturns float |
GetFingerIsGrabbing
(
finger
)
|
Implementation of IFingerAPI.GetFingerIsGrabbing(HandFinger); for details, please refer to the related documentation provided for that property.
Signature
bool Oculus.Interaction.GrabAPI.FingerPalmGrabAPI.GetFingerIsGrabbing(HandFinger finger) Parameters finger: HandFingerReturns bool |
GetFingerIsGrabbingChanged
(
finger
, targetGrabState
)
|
Implementation of IFingerAPI.GetFingerIsGrabbingChanged(HandFinger, bool); for details, please refer to the related documentation provided for that property.
Signature
bool Oculus.Interaction.GrabAPI.FingerPalmGrabAPI.GetFingerIsGrabbingChanged(HandFinger finger, bool targetGrabState) Parameters finger: HandFingertargetGrabState: boolReturns bool |
GetWristOffsetLocal
()
|
Gets the offset between the wrist and the pinch point.
Signature
Vector3 Oculus.Interaction.GrabAPI.FingerPalmGrabAPI.GetWristOffsetLocal() Returns Vector3Â
The offset between the wrist and the pinch point
|
SetConfigParamFloat
(
paramId
, paramVal
)
|
Sets the value of a floating point configuration.
Signature
void Oculus.Interaction.GrabAPI.FingerPalmGrabAPI.SetConfigParamFloat(PalmGrabParamID paramId, float paramVal) Parameters paramId: PalmGrabParamIDÂ
The PalmGrabParamID of the configuration value to set
paramVal: floatÂ
The new value paramId should be set to
Returns void |
SetConfigParamVec3
(
paramId
, paramVal
)
|
Sets the value of a Vector3 configuration.
Signature
void Oculus.Interaction.GrabAPI.FingerPalmGrabAPI.SetConfigParamVec3(PalmGrabParamID paramId, Vector3 paramVal) Parameters paramId: PalmGrabParamIDÂ
The PalmGrabParamID of the configuration value to set
paramVal: Vector3Â
The new value paramId should be set to
Returns void |
Update
(
hand
)
|
Implementation of IFingerAPI.Update(IHand); for details, please refer to the related documentation provided for that property.
Signature
void Oculus.Interaction.GrabAPI.FingerPalmGrabAPI.Update(IHand hand) Parameters hand: IHandReturns void |