API reference
API reference
Select your platform
No SDKs available
No versions available

ShoulderEstimatePosition Class

Extends MonoBehaviour
Updates its transform to the estimated shoulder position and rotation.
Estimated pose is based on an offset from an IHmd, taking in count just the rotation Yaw. An IHand is required to know not just the handedness but also alter the scale of the offset.

Protected Fields

_started : bool
Signature
bool Oculus.Interaction.ShoulderEstimatePosition._started

Protected Methods

Awake ()
Signature
virtual void Oculus.Interaction.ShoulderEstimatePosition.Awake()
Returns
void
HandleHmdUpdated ()
Signature
virtual void Oculus.Interaction.ShoulderEstimatePosition.HandleHmdUpdated()
Returns
void
OnDisable ()
Signature
virtual void Oculus.Interaction.ShoulderEstimatePosition.OnDisable()
Returns
void
OnEnable ()
Signature
virtual void Oculus.Interaction.ShoulderEstimatePosition.OnEnable()
Returns
void
Start ()
Signature
virtual void Oculus.Interaction.ShoulderEstimatePosition.Start()
Returns
void

Methods

InjectAllShoulderPosition ( hmd , hand )
Injects all required dependencies for a dynamically instantiated ShoulderEstimatePosition.
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.ShoulderEstimatePosition.InjectAllShoulderPosition(IHmd hmd, IHand hand)
Parameters
hmd: IHmd
hand: IHand
Returns
void
InjectHand ( hand )
Sets the underlying IHand for a dynamically instantiated ShoulderEstimatePosition.
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.ShoulderEstimatePosition.InjectHand(IHand hand)
Parameters
hand: IHand
Returns
void
InjectHmd ( hmd )
Sets the underlying IHmd for a dynamically instantiated ShoulderEstimatePosition.
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.ShoulderEstimatePosition.InjectHmd(IHmd hmd)
Parameters
hmd: IHmd
Returns
void