Skip to main content

Blueprint node

Category: XRLIVE | ACTORS Registers a Material Parameter Collection (MPC) asset to have all its scalar and vector parameters reset to their default values when the visual closes.

Example

Then later in your visual, change MPC values freely:
When the visual closes, all parameters are automatically restored to the default values stored in the MPC_VisualGlobals asset.

Notes

  • Register the MPC once on Event BeginPlay — you only need to call this node once per MPC regardless of how many times you write to it.
  • The defaults are read from the MPC asset itself (the values shown in the asset editor), not from when you registered it.
  • If multiple visuals share the same MPC, always register it so each visual starts from a known state.