Interface IXRBodyTransformation
Interface for a transformation that can be applied to an Unity.XR.CoreUtils.XROrigin.Origin, using the user's body as a frame of reference.
Namespace: UnityEngine.XR.Interaction.Toolkit.Locomotion
Assembly: Unity.XR.Interaction.Toolkit.dll
Syntax
public interface IXRBodyTransformation
Methods
Apply(XRMovableBody)
Performs the transformation on the given body.
Declaration
void Apply(XRMovableBody body)
Parameters
Type | Name | Description |
---|---|---|
XRMovableBody | body | The body whose originTransform to transform. |