Get Guardian Points

Returns the points, in UE4 world space, that define the Outer Boundary or the Play Area.

Overview

This Blueprint retrieves information related to the Oculus Guardian, which is only meaningful when positional tracking is available, i.e. when 6DOF (six degrees of freedom) support is provided by the product.

This Blueprint retrieves an array of variables of type FVector, where each entry in the array represents either 1) an outer boundary point for the Guardian area; or 2) one of the four points that define the Play Area, which is a rectangle within the Outer Boundary. These points are translated behind the scenes so that they represent the selected boundary within world space (not tracking space). This means the Outer Boundary or Play Area points are provided within the same frame of reference as the other objects in your virtual world.

Blueprint

Arguments

  • Boundary Type - An enum representing the type of boundary that is requested. It may be set to:
    • “Outer Boundary” - The exact bounds of the Oculus Guardian area.
    • “Play Area” - A rectangle within the Outer Boundary.

Output

  • If Play Area is selected: An array of variables of type FVector, which contains four points that define the play area, which is a rectangle within the Outer Boundary, expressed in world space coordinates.
  • If Outer Boundary is selected: An array of variables of type FVector, which contains all the points that define the Outer Boundary, expressed in world space coordinates.