기술 자료

Unity Engine

Unity Engine

virtualizationMethod

The virtualization method to use for this collection when a scroll bar is visible. Takes a value from the CollectionVirtualizationMethod enum.
읽는 시간 1분최근 업데이트: 20일 전

Definition

[UxmlAttribute]public CollectionVirtualizationMethod virtualizationMethod { get; set; }

Remarks

The default value is
FixedHeight
. When using fixed height, specify the BaseVerticalCollectionView.fixedItemHeight property. Fixed height is more performant but offers less flexibility on content. When using
DynamicHeight
, the collection will wait for the actual height to be computed. Dynamic height is more flexible but less performant.