Version: 2020.3
言語: 日本語
public Texture cookie ;

説明

ライトで投影するクッキーを設定する。

Point lights require a cube map texture. If the cookie is a cube map, the light will become a Point light.
Note that cookies are only displayed for pixel lights.
EditorSettings.enableCookiesInLightmapper needs to be turned on for it to work for baked/mixed lights, otherwise it only works for realtime lights.

See Also: Light component.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961