Class Occluder
Specifies which entities are occluders and configures occluder settings.
Inherited Members
Namespace: Unity.Rendering.Occlusion
Assembly: Unity.Entities.Graphics.dll
Syntax
public class Occluder : MonoBehaviour
Fields
localPosition
The position offset to apply to the occluder mesh.
Declaration
[FormerlySerializedAs("relativePosition")]
public Vector3 localPosition
Field Value
Type | Description |
---|---|
Vector3 |
localRotation
The rotation offset to apply to the occluder mesh.
Declaration
[FormerlySerializedAs("relativeRotation")]
public Quaternion localRotation
Field Value
Type | Description |
---|---|
Quaternion |
localScale
The scale offset to apply to the occluder mesh.
Declaration
[FormerlySerializedAs("relativeScale")]
public Vector3 localScale
Field Value
Type | Description |
---|---|
Vector3 |
mesh
The mesh to use for occlusion culling calculations.
Declaration
[FormerlySerializedAs("Mesh")]
public Mesh mesh
Field Value
Type | Description |
---|---|
Mesh |