Rigidbody
: Rigidbody |
Signature
Rigidbody Oculus.Interaction.GrabInteractor.Rigidbody |
Awake
()
|
Signature
override void Oculus.Interaction.GrabInteractor.Awake() Returns override void |
ComputeCandidate
()
|
Signature
override GrabInteractable Oculus.Interaction.GrabInteractor.ComputeCandidate() Returns override GrabInteractable |
ComputePointerPose
()
|
Signature
override Pose Oculus.Interaction.GrabInteractor.ComputePointerPose() Returns override Pose |
ComputeShouldUnselect
()
|
Signature
override bool Oculus.Interaction.GrabInteractor.ComputeShouldUnselect() Returns override bool |
DoSelectUpdate
()
|
Signature
override void Oculus.Interaction.GrabInteractor.DoSelectUpdate() Returns override void |
HandlePointerEventRaised
(
evt
)
|
Signature
override void Oculus.Interaction.GrabInteractor.HandlePointerEventRaised(PointerEvent evt) Parameters evt: PointerEventReturns override void |
InteractableSelected
(
interactable
)
|
Signature
override void Oculus.Interaction.GrabInteractor.InteractableSelected(GrabInteractable interactable) Parameters interactable: GrabInteractableReturns override void |
Start
()
|
Signature
override void Oculus.Interaction.GrabInteractor.Start() Returns override void |
ForceRelease
()
|
Forces the controller to unselect the currently selected GrabInteractable.
This method clears any overrides set by ForceSelect and reverts to the default selection behavior.
Signature
void Oculus.Interaction.GrabInteractor.ForceRelease() Returns void |
ForceSelect
(
interactable
)
|
Forces the controller to select a specific GrabInteractable even if it is not the closest available option.
This method overrides the default selection process, allowing for programmatic control over which interactable is selected.
Signature
void Oculus.Interaction.GrabInteractor.ForceSelect(GrabInteractable interactable) Parameters interactable: GrabInteractableReturns void |
InjectAllGrabInteractor
(
selector
, rigidbody
)
|
Injects both a ISelector and a Rigidbody into a dynamically instantiated GameObject.
Signature
void Oculus.Interaction.GrabInteractor.InjectAllGrabInteractor(ISelector selector, Rigidbody rigidbody) Parameters rigidbody: Rigidbody
The Rigidbody component to be added.
Returns void |
InjectOptionalGrabTarget
(
grabTarget
)
|
Optionally adds a grab target to a dynamically instantiated GameObject, enabling targeted grabbing operations by providing an external grab target transform.
Signature
void Oculus.Interaction.GrabInteractor.InjectOptionalGrabTarget(Transform grabTarget) Parameters grabTarget: TransformReturns void |
InjectRigidbody
(
rigidbody
)
|
Adds a Rigidbody to a dynamically instantiated GameObject, enhancing the physical interaction capabilities by providing an external Rigidbody component.
Signature
void Oculus.Interaction.GrabInteractor.InjectRigidbody(Rigidbody rigidbody) Parameters rigidbody: RigidbodyReturns void |
InjectSelector
(
selector
)
| |
Unselect
()
|
This method unselects the currently selected interactable, and in addition reverts any selection overrides if necessary.
Signature
override void Oculus.Interaction.GrabInteractor.Unselect() Returns override void |