Save to Ini
Updated: Apr 15, 2026
This blueprint saves the active (non-deprecated) MRC properties to the [Oculus.Settings.MixedReality] section in the Saved/Config/Windows/Engine.ini file. The following 9 properties are saved:
CompositionMethodClippingReferencebUseTrackedCameraResolutionWidthPerViewHeightPerViewCastingLatencyBackdropColorBindToTrackedCameraIndexExternalCompositionPostProcessEffects
Deprecated properties and the private bIsCasting property are not saved.
Note: SaveToIni() writes all 9 properties to the .ini file, including properties still set to their default values.

- Target: This references the Oculus MR Settings object returned by Get Oculus MR Settings, which contains the following properties:
bIsCasting (GetIsCasting/SetIsCasting): Turns MRC on and off. Does not get saved to or loaded from ini.CompositionMethod (GetCompositionMethod/SetCompositionMethod)
ExternalComposition: Default. The casting window includes the background and foreground view.DirectComposition: (Deprecated) Rift-only composition mode. The game scene was composited with the camera frame directly.
BindToTrackedCameraIndex (BindToTrackedCameraIndexIfAvailable/GetBindToTrackedCameraIndex): Index of the calibrated external camera to which the in-game MRC camera should be bound.ClippingReference: Specifies the distance from the camera to the mixed reality capture casting background/foreground boundary. For stationary experiences, set to CR_TrackingReference to use the distance to the tracking reference. For room-scale experiences, set to CR_Head to use the distance to the HMD (the default setting).bUseTrackedCameraResolution: Set to True for the casting viewports to use the same resolution as the camera in the calibration process.WidthPerView: Set bUseTrackedCameraResolution to False to set the width of each casting viewport (foreground, background, or direct-composited).HeightPerView: Set bUseTrackedCameraResolution to False to set the height of each casting viewport (foreground, background, or direct composited).CapturingCamera (GetCapturingCamera/SetCapturingCamera): (Deprecated) GetCapturingCamera() always returns CD_None_DEPRECATED and SetCapturingCamera() is a no-op. Previously used with DirectComposition to select a physical camera device for compositing.CastingLatency: Set CompositionMethod to ExternalComposition to set the latency of the casting output. This setting may be used to help sync with the camera latency in the external composition application.ExternalCompositionPostProcessEffects: Set CompositionMethod to ExternalComposition to set the amount of post process effects that are shown in the mixed reality capture. Setting it to Off will disable all post-process effects. Setting it to On will enable post-process effects, but may cause visual inaccuracy.BackdropColor: Set CompositionMethod to ExternalComposition to show the color of the backdrop in the foreground view.HandPoseStateLatency: (Deprecated) Previously added a delay in seconds (up to 0.5) to the tracked controllers when DirectComposition was active, to correct for camera latency.ChromaKeyColor: (Deprecated) Specified the approximate color of the green screen as a compositing reference. The default value was Color.green, which matched a typical general green screen under good lighting conditions.ChromaKeySimilarity: (Deprecated) Determined the visibility of pixels based on color. When the distance between pixel color and chromaKeyColor was less than chromaKeySimiliarity, the pixel was hidden. Increasing this value made the green screen less visible, and reducing it prevented the person in the scene from partially disappearing.ChromaKeySmoothRange: (Deprecated) Defined a small range of color distance between the pixel and the green screen in which the video frame pixel was rendered as semi-transparent. Increasing this value made the person’s image smoother, and decreasing it sharpened the image.ChromaKeySpillRange: (Deprecated) Defined a small range of color distance between the pixel and the green screen, in which the video frame pixel was desaturated. Increasing this value reduced green edges around the person’s image, and decreasing it prevented the person’s image from looking overly desaturated.
The following sample shows how to use Save To Ini with related Blueprint functions.