기술 자료

Unity Engine

Unity Engine

BatchPackedCullingViewID

The ID of the view from which Unity invoked the culling.
읽는 시간 1분최근 업데이트: 한 달 전

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.