_started
: bool |
Signature
bool Oculus.Interaction.HandPinchOffset._started |
Hand
: IHand
[Get] | |
LocalPositionOffset
: Vector3
[Get][Set] |
Gets and sets the position offset associated with this HandPinchOffset.
This is a low-level value which can be set to fundamentally change the behavior of the pinch offset, but this is something only experts should consider trying.
Signature
Vector3 Oculus.Interaction.HandPinchOffset.LocalPositionOffset |
MirrorOffsetsForLeftHand
: bool
[Get][Set] |
When the attached IHand's handedness is set to Left, this property will mirror the offsets.
This allows for offset values to be set in Right hand coordinates for both Left and Right hands.
Signature
bool Oculus.Interaction.HandPinchOffset.MirrorOffsetsForLeftHand |
RotationOffset
: Quaternion
[Get][Set] |
Gets and sets the rotation offset associated with this HandPinchOffset.
This is a low-level value which can be set to fundamentally change the behavior of the pinch offset, but this is something only experts should consider trying.
Signature
Quaternion Oculus.Interaction.HandPinchOffset.RotationOffset |
Awake
()
|
Signature
virtual void Oculus.Interaction.HandPinchOffset.Awake() Returns void |
OnDisable
()
|
Signature
virtual void Oculus.Interaction.HandPinchOffset.OnDisable() Returns void |
OnEnable
()
|
Signature
virtual void Oculus.Interaction.HandPinchOffset.OnEnable() Returns void |
Start
()
|
Signature
virtual void Oculus.Interaction.HandPinchOffset.Start() Returns void |
InjectAllHandPinchOffset
(
hand
, handGrabApi
)
|
Convenience method for adding all required dependencies to a dynamically-instantiated HandPinchOffset, combining InjectHand(IHand) and InjectHandGrabAPI(HandGrabAPI).
Signature
void Oculus.Interaction.HandPinchOffset.InjectAllHandPinchOffset(IHand hand, HandGrabAPI handGrabApi) Parameters hand: IHandhandGrabApi: HandGrabAPIReturns void |
InjectHand
(
hand
)
|
Adds a IHand to a dynamically instantiated HandPinchOffset.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Signature
void Oculus.Interaction.HandPinchOffset.InjectHand(IHand hand) Parameters hand: IHandReturns void |
InjectHandGrabAPI
(
handGrabApi
)
|
Adds a HandGrabAPI to a dynamically instantiated HandPinchOffset.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Signature
void Oculus.Interaction.HandPinchOffset.InjectHandGrabAPI(HandGrabAPI handGrabApi) Parameters handGrabApi: HandGrabAPIReturns void |
InjectOptionalCollider
(
collider
)
|
Adds a Unity Collider to a dynamically instantiated HandPinchOffset.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Signature
void Oculus.Interaction.HandPinchOffset.InjectOptionalCollider(Collider collider) Parameters collider: ColliderReturns void |