Develop
Develop
Select your platform

Get Guardian Points

Returns the points in Unreal Engine 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, and the product provides 6DOF (six degrees of freedom) support.
This Blueprint retrieves an array of variables of type FVector, where each entry in the array represents either:
  • An outer boundary point for the Guardian area.
  • One of the four points defining the Play Area (these four points are a rectangle within the Outer Boundary).
These points are translated behind the scenes to represent the selected boundary within world space (not tracking space). The system provides the Outer Boundary or Play Area points within the same frame of reference as the other objects in your virtual world.

Blueprint

Get Guardian Points

Arguments

  • Boundary Type: An enum representing the type of boundary that is requested. You can set this 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, a rectangle within the Outer Boundary, expressed in world or pawn 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 or pawn space coordinates.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon