Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


BatchPackedCullingViewID

The ID of the view from which Unity invoked the culling.
Read time 1 minuteLast updated 7 days ago

Definition

public struct BatchPackedCullingViewID : IEquatable<BatchPackedCullingViewID>

Methods

Method

Description

EqualsReturns true if the ID in the argument equals this view ID.
GetHashCodeReturns the hash code for the ID.
GetInstanceIDReturns the instance ID of the GameObject from which Unity performs the culling (for example, Camera, Light, etc.).
GetSliceIndexReturns the slice index of the culled view. The slice index depends on the view type. For cameras, the slice index is always zero. For cascaded shadow maps, it is equal to the index of the cascade.