system
The currently active ScriptableBakedReflectionSystem, see IScriptableBakedReflectionSystem.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Property
- Namespace: UnityEditor.Experimental.Rendering
- Assembly: UnityEditor.CoreModule
public static IScriptableBakedReflectionSystem system { get; set; }
Remarks
Set this property in a class with InitializeOnLoadAttribute or a method with InitializeOnLoadMethodAttribute with your own implementation.
Examples
using UnityEditor;using UnityEditor.Experimental.Rendering;// Empty ScriptableBakedReflectionSystem for the exempleclass CustomScriptableBakedReflectionSystem : ScriptableBakedReflectionSystem{ public CustomScriptableBakedReflectionSystem() : base(1) { }}class CustomScriptableBakedReflectionSystemIntegration{ [InitializeOnLoadMethod] static void Initialize() { ScriptableBakedReflectionSystemSettings.system = new CustomScriptableBakedReflectionSystem(); }}