UOculusMRFunctionLibrary

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

OculusMR

Header

/Engine/Plugins/Runtime/Oculus/OculusVR/Source/OculusMR/Public/OculusMRFunctionLibrary.h

Include

#include "OculusMRFunctionLibrary.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UOculusMRFunctionLibrary : public UBlueprintFunctionLibrary

Constructors

Name Description

Public function

UOculusMRFunctionLibrary

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Static

void

 

GetAllTrackedCamera

(
    TArray< FTrackedCamera >& TrackedC...,
    bool bCalibratedOnly
)

Retrieve an array of all (calibrated) tracked cameras which were calibrated through the CameraTool

Public function Static UFunction BlueprintCallable, Category, Meta

float

 

GetMrcScalingFactor()

Get the scaling factor for the MRC configuration. Returns 0 if not available.

Public function Static

OculusHMD::F...

 

GetOculusHMD()

Public function Static UFunction BlueprintCallable, Category, Meta

UOculusMR_Se...

 

GetOculusMRSettings()

Get the OculusMR settings object.

Public function Static UFunction BlueprintCallable, Category

USceneCompon...

 

GetTrackingReferenceComponent()

Get the component that the OculusMR camera is tracking. When this is null, the camera will track the player pawn.

Public function Static

bool

 

GetTrackingReferenceLocationAndRotationInWorldSpace

(
    USceneComponent* TrackingRefer...,
    FVector& TRLocation,
    FRotator& TRRotation
)

Public function Static UFunction BlueprintCallable, Category

bool

 

IsMrcActive()

Check if MRC is enabled and actively capturing.

Public function Static UFunction BlueprintCallable, Category

bool

 

IsMrcEnabled()

Check if MRC is enabled.

Public function Static UFunction BlueprintCallable, Category, Meta

bool

 

SetMrcScalingFactor

(
    float ScalingFactor
)

Set the scaling factor for the MRC configuration. This should be a positive value set to the same scaling as the VR player pawn so that the game capture and camera video are aligned.

Public function Static UFunction BlueprintCallable, Category

bool

 

SetTrackingReferenceComponent

(
    USceneComponent* Component
)

Set the component for the OculusMR camera to track. If this is set to null, the camera will track the player pawn.

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