Class OcclusionView
Explicitly specifies which frustum views are occlusion views and configures occlusion view settings.
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.Rendering.Occlusion
Assembly: solution.dll
Syntax
[ExecuteInEditMode]
[DisallowMultipleComponent]
public class OcclusionView : MonoBehaviour
Fields
Name | Description |
---|---|
DefaultBufferSize | The default value for the occlusion buffer height and width. |
OcclusionBufferHeight | The height of the occlusion buffer. |
OcclusionBufferWidth | The width of the occlusion buffer. |
OcclusionEnabled | Indicates whether to process occlusion culling for the attached frustum view. |