public static ulong GetSceneCullingMask (SearchService.Scene scene);

Parameters

sceneThe scene to get the culling mask from.

Returns

ulong The scene's current culling mask as a bitfield.

Description

Return the culling mask set on the given Scene.

The culling mask for a Scene is used by Cameras to determine which Scenes should appear in the Cameras final render target. Culling masks are stored as a bitfield.

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