Develop
Develop
Select your platform

Get Guardian Dimensions

Updated: Sep 4, 2024
This Blueprint returns the dimensions of the Outer Boundary or the Play Area, expressed in Unreal Engine units.

Overview

This Blueprint only works with PC-VR since it retrieves information related to Guardian. It is only meaningful when positional tracking is available, like when the headset provides 6DOF (six degrees of freedom) support.
This Blueprint retrieves a vector consisting of three numbers representing the width, height, and depth of either:
  • The outer boundary for the Guardian area.
  • The Play Area (a rectangle within the Outer Boundary).

Blueprint

Get Guardian Dimensions Blueprint

Arguments

Boundary Type: An enum representing the type of boundary dimensions you requested. You may set this value to:
  • Outer Boundary: The exact bounds of the Guardian area.
  • Play Area: A rectangle within the Outer Boundary.

Output

  • If Play Area is selected: A vector consisting of three numbers that represent the dimensions (width, height, depth) of the axis-aligned bounding box that encloses the play area, expressed in Unreal Engine units. The play area is a rectangle within the Outer Boundary.
  • If Outer Boundary is selected: A vector consisting of three numbers that represent the dimensions (width, height, depth) of the axis-aligned bounding box that encloses the outer boundary, expressed in Unreal Engine units.
Did you find this page helpful?