Table of Contents

Struct JointCollection.JointEnumerator

Namespace
Alis.Core.Physic.Dynamics
Assembly
Alis.dll

The joint enumerator

public struct JointCollection.JointEnumerator : IEnumerator<Joint>, IEnumerator, IDisposable

Implements

Inherited Members

Constructors

JointEnumerator(JointCollection, List<Joint>)

Initializes a new instance of the Alis.Core.Physic.Dynamics.JointCollection.JointEnumerator class

public JointEnumerator(JointCollection collection, List<Joint> list)

Parameters

collection JointCollection

The collection

list List<Joint>

The list

Fields

_collection

The collection

private JointCollection _collection

Field Value

JointCollection

_generationStamp

The generation stamp

private readonly int _generationStamp

Field Value

int

_list

The list

private List<Joint> _list

Field Value

List<Joint>

i

The

private int i

Field Value

int

Properties

Current

Gets the value of the current

public Joint Current { get; }

Property Value

Joint

IEnumerator<Joint>.Current

Gets the value of the current

Joint IEnumerator<Joint>.Current { get; }

Property Value

Joint

IEnumerator.Current

Gets the value of the current

object IEnumerator.Current { get; }

Property Value

object

Methods

MoveNext()

Describes whether this instance move next

public bool MoveNext()

Returns

bool

The bool

Exceptions

InvalidOperationException

Collection was modified.

IEnumerator.Reset()

Resets this instance

void IEnumerator.Reset()

IDisposable.Dispose()

Disposes this instance

void IDisposable.Dispose()