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

VRageMath.BoundingBoxI.EnumeratePoints

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

IndexNamespace IndexBoundingBoxI

Summary

public static IEnumerable<Vector3I> EnumeratePoints(BoundingBoxI rangeInclusive)

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