Method SetSpace
SetSpace(XrReferenceSpaceType, Vector3, Quaternion, XrSpaceLocationFlags)
Set the reference space to use at Runtime.
Declaration
public static extern void SetSpace(XrReferenceSpaceType referenceSpace, Vector3 position, Quaternion orientation, XrSpaceLocationFlags locationFlags)
Parameters
Type | Name | Description |
---|---|---|
XrReferenceSpaceType | referenceSpace | The type of reference space being set. |
Vector3 | position | Position of the space. |
Quaternion | orientation | Orientation of the space. |
XrSpaceLocationFlags | locationFlags | XrSpaceLocationFlags for the space. |
SetSpace(ulong, Vector3, Quaternion, XrSpaceLocationFlags)
Set the reference space to use for input actions.
Declaration
public static extern void SetSpace(ulong actionHandle, Vector3 position, Quaternion orientation, XrSpaceLocationFlags locationFlags)
Parameters
Type | Name | Description |
---|---|---|
ulong | actionHandle | Handle to the input action. |
Vector3 | position | Position of the space. |
Quaternion | orientation | Orientation of the space. |
XrSpaceLocationFlags | locationFlags | XrSpaceLocationFlags for the space. |