unreal.OculusMRFunctionLibrary

class unreal.OculusMRFunctionLibrary(outer=None, name='None')

Bases: unreal.BlueprintFunctionLibrary

Oculus MRFunction Library

C++ Source:

  • Plugin: OculusVR

  • Module: OculusMR

  • File: OculusMRFunctionLibrary.h

classmethod get_mrc_scaling_factor() float

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

Return type

float

classmethod get_oculus_mr_settings() OculusMR_Settings

Get the OculusMR settings object

Return type

OculusMR_Settings

classmethod get_tracking_reference_component() SceneComponent

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

Return type

SceneComponent

classmethod is_mrc_active() bool

Check if MRC is enabled and actively capturing

Return type

bool

classmethod is_mrc_enabled() bool

Check if MRC is enabled

Return type

bool

classmethod set_mrc_scaling_factor(scaling_factor=1.000000) bool

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.

Parameters

scaling_factor (float) –

Return type

bool

classmethod set_tracking_reference_component(component) bool

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

Parameters

component (SceneComponent) –

Return type

bool