FGuardianTestResult

Information about relationships between a triggered boundary ([EBoundaryType::Boundary_Outer](API\Plugins\OculusHMD\EBoundaryType) or [EBoundaryType::Boundary_PlayArea](API\Plugins\OculusHMD\EBoundaryType)) and a device or point in the world.

Windows
MacOS
Linux

References

Module

OculusHMD

Header

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

Include

#include "OculusFunctionLibrary.h"

Syntax

[USTRUCT](Programming/UnrealArchitecture/Reference/Structs)([BlueprintType](Programming/UnrealArchitecture/Reference/Structs/Specifiers/BlueprintType))
struct FGuardianTestResult

Remarks

Information about relationships between a triggered boundary (EBoundaryType::Boundary_Outer or EBoundaryType::Boundary_PlayArea) and a device or point in the world. All dimensions, points, and vectors are returned in Unreal world coordinate space.

Variables

Name Description

Public variable UProperty Category, EditAnywhere BlueprintReadOnly

float

 

ClosestDistance

Distance of device/point to surface of boundary specified by BoundaryType

Public variable UProperty Category, EditAnywhere BlueprintReadOnly

FVector

 

ClosestPoint

Closest point on surface corresponding to specified boundary

Public variable UProperty Category, EditAnywhere BlueprintReadOnly

FVector

 

ClosestPointNormal

Normal of closest point

Public variable UProperty Category, EditAnywhere BlueprintReadOnly

ETrackedDeviceT...

 

DeviceType

Device type triggering boundary (ETrackedDeviceType::None if BoundaryTestResult corresponds to a point rather than a device)

Public variable UProperty Category, EditAnywhere BlueprintReadOnly

bool

 

IsTriggering

Is there a triggering interaction between the device/point and specified boundary?

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss