UOculusFunctionLibrary::GetNodeGuardianIntersection

Get the intersection result between a tracked device (HMD or controllers) and a guardian boundary

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(BlueprintCallable, Category="OculusLibrary|Guardian")
static FGuardianTestResult GetNodeGuardianIntersection
(
    ETrackedDeviceType DeviceType,
    EBoundaryType BoundaryType
)

Remarks

Get the intersection result between a tracked device (HMD or controllers) and a guardian boundary

Parameters

Parameter

Description

DeviceType

(in) Tracked Device type to test against guardian boundaries

BoundaryType

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