Class Vector3I_RangeIterator
A class for simpler traversal of ranges of integer vectors
Inheritance
System.Object
Vector3I_RangeIterator
Namespace: VRageMath
Assembly: VRage.Math.dll
Syntax
public sealed class Vector3I_RangeIterator : ValueType
Constructors
Vector3I_RangeIterator(ref Vector3I, ref Vector3I)
Note: both start and end are inclusive
Declaration
public Vector3I_RangeIterator(ref Vector3I start, ref Vector3I end)
Parameters
Type | Name | Description |
---|---|---|
Vector3I | start | |
Vector3I | end |
Fields
Current
Do not modify, public only for optimization!
Declaration
public Vector3I Current
Field Value
Type | Description |
---|---|
Vector3I |
Methods
GetNext(out Vector3I)
Declaration
public void GetNext(out Vector3I next)
Parameters
Type | Name | Description |
---|---|---|
Vector3I | next |
IsValid()
Declaration
public bool IsValid()
Returns
Type | Description |
---|---|
System.Boolean |
MoveNext()
Declaration
public void MoveNext()