📘Using Blueprints

There may be times where you will want access to the Looking Glass Capture data. This could be useful for manipulating camera settings dynamically, or for printing to screen for debug purposes.

There are two different methods you can use to find the information you need.

Changing Looking Glass Capture Properties via Blueprint

In order to change the settings of the Looking Glass Capture you'll need to have a reference to a Looking Glass Capture and the actor's render camera component.

Looking Glass Settings Data

To get the data found in the Looking Glass Settings (as seen in the Project Settings) you can use the built-in Blueprint Function “Get Looking Glass settings”. This will return an object reference to the current settings being used. To access this function in Blueprints, simply right click anywhere in the Blueprint Editor viewport and type “GetLookingGlassSettings”.

Next, you can pull the pit off the “Return Value” and type “Looking Glass” to see the variables that are available to read.

Finally, once you’ve selected a variable you can break the pin to see the contained values by right clicking the pin and selecting “Split Struct Pin” (you may need to do this for a few pins).

Looking Glass Capture Data

All data found in the “Details Panel” of the LookingGlassCapture can be accessed and changed via Blueprints. To access the variables just right click in the Blueprint Editor Viewport and type “CaptureSettings” and select the variable you would like to read or change.

Last updated

Was this helpful?