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.

Properties

IHmd Hmd[Get]
IHand Hand[Get]

Protected Fields

bool _started[Get]

Protected Functions

virtual void Awake ( )
virtual void Start ( )
virtual void OnEnable ( )
virtual void OnDisable ( )
virtual void HandleHmdUpdated ( )

Member Functions

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.
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.
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.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon