文档

Unity Engine

Unity Engine

defaultReflectionSet

Adds a delegate to get notifications when the default specular Cubemap is changed.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Event
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
警告
Removed. 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.