Interface IXRBodyPositionEvaluator
Interface for an object that determines the position of the user's body for a given Unity.XR.CoreUtils.XROrigin. This is used by implementations of IXRBodyTransformation to transform the XR Origin using the user's body, rather than the tracking origin itself, as the frame of reference.
Namespace: UnityEngine.XR.Interaction.Toolkit.Locomotion
Assembly: Unity.XR.Interaction.Toolkit.dll
Syntax
public interface IXRBodyPositionEvaluator
  Methods
GetBodyGroundLocalPosition(XROrigin)
Gets the position of where the user's body is grounded (e.g. their feet), in the local space of the Unity.XR.CoreUtils.XROrigin.Origin.
Declaration
Vector3 GetBodyGroundLocalPosition(XROrigin xrOrigin)
  Parameters
| Type | Name | Description | 
|---|---|---|
| XROrigin | xrOrigin | The XR Origin whose body position to get.  | 
      
Returns
| Type | Description | 
|---|---|
| Vector3 | Returns the position of where the user's body is grounded, in the local space of the Unity.XR.CoreUtils.XROrigin.Origin.  |