Class Manus::Interaction::ThrowableObject
ClassList > Manus > Interaction > ThrowableObject
This class makes an object throwable. It analyzes the last few positions and rotations and uses these to estimate the throwing speed when released.
Inherits the following classes: MonoBehaviour, Manus::Interaction::IGrabbable
Public Functions
Type | Name |
---|---|
void | OnAddedInteractingInfo (GrabbedObject p_Object, GrabbedObject.Info p_Info) Called when a new grabber starts grabbing this. |
void | OnGrabbedEnd (GrabbedObject p_Object) Called when this stops being grabbed. |
void | OnGrabbedFixedUpdate (GrabbedObject p_Object) Called every FixedUpdate when this is grabbed. |
void | OnGrabbedHandPose (InteractionHand p_Object, GrabbedObject.Info p_Info) Poses the visual hand. (If needed) |
void | OnGrabbedStart (GrabbedObject p_Object) Called when this starts getting grabbed. |
void | OnRemovedInteractingInfo (GrabbedObject p_Object, GrabbedObject.Info p_Info) Called when a grabber stops grabbing this. |
Public Functions inherited from Manus::Interaction::IGrabbable
See Manus::Interaction::IGrabbable
Type | Name |
---|---|
void | OnAddedInteractingInfo (GrabbedObject p_Object, GrabbedObject.Info p_Info) Called when a new grabber starts grabbing this. |
void | OnGrabbedEnd (GrabbedObject p_Object) Called when this stops being grabbed. |
void | OnGrabbedFixedUpdate (GrabbedObject p_Object) Called every FixedUpdate when this is grabbed. |
void | OnGrabbedHandPose (InteractionHand p_Object, GrabbedObject.Info p_Info) Poses the visual hand. (If needed) |
void | OnGrabbedStart (GrabbedObject p_Object) Called when this starts getting grabbed. |
void | OnRemovedInteractingInfo (GrabbedObject p_Object, GrabbedObject.Info p_Info) Called when a grabber stops grabbing this. |
Public Functions Documentation
function OnAddedInteractingInfo
Called when a new grabber starts grabbing this.
inline void Manus::Interaction::ThrowableObject::OnAddedInteractingInfo (
GrabbedObject p_Object,
GrabbedObject.Info p_Info
)
Parameters:
p_Object
Contains information about the grabp_Info
Contains information about the added grabber
Implements Manus::Interaction::IGrabbable::OnAddedInteractingInfo
function OnGrabbedEnd
Called when this stops being grabbed.
Parameters:
p_Object
Contains information about the grab
Implements Manus::Interaction::IGrabbable::OnGrabbedEnd
function OnGrabbedFixedUpdate
Called every FixedUpdate when this is grabbed.
Parameters:
p_Object
Contains information about the grab
Implements Manus::Interaction::IGrabbable::OnGrabbedFixedUpdate
function OnGrabbedHandPose
Poses the visual hand. (If needed)
inline void Manus::Interaction::ThrowableObject::OnGrabbedHandPose (
InteractionHand p_Object,
GrabbedObject.Info p_Info
)
Parameters:
p_Object
Implements Manus::Interaction::IGrabbable::OnGrabbedHandPose
function OnGrabbedStart
Called when this starts getting grabbed.
Parameters:
p_Object
Contains information about the grab
Implements Manus::Interaction::IGrabbable::OnGrabbedStart
function OnRemovedInteractingInfo
Called when a grabber stops grabbing this.
inline void Manus::Interaction::ThrowableObject::OnRemovedInteractingInfo (
GrabbedObject p_Object,
GrabbedObject.Info p_Info
)
Parameters:
p_Object
Contains information about the grabp_Info
Contains information about the removed grabber
Implements Manus::Interaction::IGrabbable::OnRemovedInteractingInfo
The documentation for this class was generated from the following file api/unity-plugin/Scripts/Interaction/ThrowableObject.cs