Skip to content

Volume Extensions

Andrzej Kebab edited this page Feb 4, 2024 · 1 revision

Unity.Runtime

LoadVolumeProfile

Loads a VolumeProfile from a specified path and assigns it to the Volume instance.

Example:

Volume myVolume = GetComponent<Volume>();
myVolume.LoadVolumeProfile("Profiles/MyVolumeProfile");

Parameters:

  • volume: The Volume instance to which the VolumeProfile should be assigned.
  • path: The path from where the VolumeProfile should be loaded.

Clone this wiki locally