Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

VRageMath.Vector3I.EnumerateRange

Morten Aune Lyrstad edited this page Apr 16, 2022 · 26 revisions

IndexNamespace IndexVector3I

Summary

public static IEnumerable<Vector3I> EnumerateRange(Vector3I minInclusive, Vector3I maxExclusive)

Enumerate all values in a integer interval (a cuboid). This method is an allocating version of the Vector3I_RangeIterator. This once can be used in the foreach syntax though so it's more convenient for debug routines.

Returns

IEnumerable

An iterator for that range.

Parameters

Clone this wiki locally