UOculusFunctionLibrary::GetPointGuardianIntersection

Get the intersection result between a UE coordinate 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 GetPointGuardianIntersection
(
    const FVector Point,
    EBoundaryType BoundaryType
)

Remarks

Get the intersection result between a UE coordinate and a guardian boundary

Parameters

Parameter

Description

Point

(in) Point in UE space 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)