Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

VRageMath.Vector3I.EnumerateRange

Morten Aune Lyrstad edited this page Apr 16, 2022 · 25 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<Vector3I>

An iterator for that range.

Parameters

Clone this wiki locally