Class OcclusionView
Explicitly specifies which frustum views are occlusion views and configures occlusion view settings.
Inherited Members
Namespace: Unity.Rendering.Occlusion
Assembly: Unity.Entities.Graphics.dll
Syntax
[ExecuteInEditMode]
[DisallowMultipleComponent]
public class OcclusionView : MonoBehaviour
Fields
DefaultBufferSize
The default value for the occlusion buffer height and width.
Declaration
public static readonly uint DefaultBufferSize
Field Value
Type | Description |
---|---|
uint |
OcclusionBufferHeight
The height of the occlusion buffer.
Declaration
public uint OcclusionBufferHeight
Field Value
Type | Description |
---|---|
uint |
OcclusionBufferWidth
The width of the occlusion buffer.
Declaration
public uint OcclusionBufferWidth
Field Value
Type | Description |
---|---|
uint |
OcclusionEnabled
Indicates whether to process occlusion culling for the attached frustum view.
Declaration
public bool OcclusionEnabled
Field Value
Type | Description |
---|---|
bool |