文档

Unity Engine

Unity Engine

BoundsInt.PositionEnumerator

An iterator that allows you to iterate over all positions within the BoundsInt.
阅读时间1 分钟最后更新于 1 个月前

Definition

public struct BoundsInt.PositionEnumerator : IEnumerator<Vector3Int>, IEnumerator, IDisposable

Properties

Property

Description

CurrentCurrent position of the enumerator.

Methods

Method

Description

GetEnumeratorReturns this as an iterator that allows you to iterate over all positions within the BoundsInt.
MoveNextMoves the enumerator to the next position.
ResetResets this enumerator to its starting state.