ドキュメント

Unity Engine

Unity Engine

SetSceneCullingMask(Scene, ulong)

Set the culling mask on this scene to this value. Cameras will only render objects in Scenes that have the same bits set in their culling mask.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public static void SetSceneCullingMask(Scene scene, ulong sceneCullingMask)

Parameters

scene

The scene to set the culling mask on.

sceneCullingMask

The value of the culling mask, stored as a bitfield.