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

VRageMath.BoundingBoxI.EnumeratePoints

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

An iterator for that range.

Parameters

Clone this wiki locally