Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


defaultReflectionSet

Adds a delegate to get notifications when the default specular Cubemap is changed.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Event
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
Warning
Deprecated. ReflectionProbe.defaultReflectionSet has been deprecated. Use ReflectionProbe.defaultReflectionTexture.
public static event Action<Cubemap> defaultReflectionSet

Remarks

This event is now obsolete. You should instead use the defaultReflectionTexture event. Note that mixing this callback and the new defaultReflectionTexture event might cause the event event to be fired multiple times (with the same argument).
Additional Resources: ReflectionProbe ReflectionProbe.defaultReflectionTexture.