Develop

Get Tracking Reference Component

Updated: Apr 15, 2026

Overview

GetTrackingReferenceComponent retrieves a reference to the scene component that the OculusXRMR camera is tracking. This component serves as the tracking origin that the camera calibration is applied to for mixed reality capture. If no tracking reference component has been set, the MR camera falls back to tracking the player pawn.
This function belongs to UOculusXRMRFunctionLibrary in the OculusXRMR module. In Blueprints, it appears under the **OculusLibrary
MR** category.

Blueprint

Get Tracking Reference Component Blueprint node with a scene component return value.

Arguments

  • No arguments.

Output

  • Return Value: A USceneComponent* reference to the tracked component, or null if no tracking reference component has been set via SetTrackingReferenceComponent or the OculusXRMR module is not available. When null, the MR camera tracks the player pawn.