UOculusFunctionLibrary::GetGuardianPoints

Returns the list of points in UE world space of the requested Boundary Type

Choose your operating system:

Windows

macOS

Linux

References

Module

OculusHMD

Header

/Engine/Plugins/Runtime/Oculus/OculusVR/Source/OculusHMD/Public/OculusFunctionLibrary.h

Include

#include "OculusFunctionLibrary.h"

Source

/Engine/Plugins/Runtime/Oculus/OculusVR/Source/OculusHMD/Private/OculusFunctionLibrary.cpp

Syntax

UFUNCTION(BlueprintPure, Category="OculusLibrary|Guardian")
static TArray< FVector > GetGuardianPoints
(
    EBoundaryType BoundaryType,
    bool UsePawnSpace
)

Remarks

Returns the list of points in UE world space of the requested Boundary Type

Parameters

Parameter

Description

BoundaryType

(in) An enum representing the boundary type requested, either Outer Boundary (exact guardian bounds) or PlayArea (rectangle inside the Outer Boundary)

UsePawnSpace

(in) Boolean indicating to return the points in world space or pawn space