Develop
Develop
Select your platform

Persistent Passthrough

Updated: Sep 11, 2024
Persistent Passthrough is a passthrough layer that remains active throughout the app’s duration, including between level loads. This contrasts with passthrough layers created using the Passthrough Layer Component, which vanish when the component is destroyed.
You can manually destroy it anytime, anywhere using the Destroy Persistent Passthrough method. Its instance can also be fetched from anywhere using the Get Persistent Passthrough method. Persistent Passthrough nodes
The Persistent Passthrough layer can be configured in the Details tab when selecting the Initialize Persistent Passthrough node.
Enabling Show Input Pin will disable the Layer Parameters setting and display an additional Parameters pin on the node. You can drag from this Parameters pin to expose it as a variable and configure the layer’s parameters from this new variable instead. This can be useful if you wish to expose the initialization of the layer to an Actor’s instance or to dynamically configure the layer. Persistent Passthrough Initialize with Parameters input pin
Get Persistent Passthrough and Get Shape are used to update the layer in runtime. See Passthrough Styling for the list of parameters and their effects. Persistent Passthrough nodes to update layer
Calling Initialize Persistent Passthrough a second time will apply override the current layer’s parameters.
Did you find this page helpful?