Method SetViewPose
SetViewPose(XrViewConfigurationType, int, Vector3, Quaternion, Vector4)
Set the runtime ViewPose.
Declaration
public static extern void SetViewPose(XrViewConfigurationType viewConfigurationType, int viewIndex, Vector3 position, Quaternion orientation, Vector4 fov)
Parameters
Type | Name | Description |
---|---|---|
Xr |
viewConfigurationType | The XrViewConfigurationType to use. |
int | viewIndex | The indexed view being set. |
Vector3 | position | Position of the view. |
Quaternion | orientation | Orientation of the view. |
Vector4 | fov | Field of View. |