Struct SimulationData.BodyPairs.Iterator
Namespace: Unity.Physics
Syntax
public struct Iterator
Constructors
Iterator(SimulationData.BodyPairs)
Declaration
public Iterator(SimulationData.BodyPairs pairs)
Parameters
Type | Name | Description |
---|---|---|
SimulationData.BodyPairs | pairs |
Methods
DisableLastPair()
Declaration
public void DisableLastPair()
HasPairsLeft()
Declaration
public bool HasPairsLeft()
Returns
Type | Description |
---|---|
System.Boolean |
NextPair()
Declaration
public BodyIndexPair NextPair()
Returns
Type | Description |
---|---|
BodyIndexPair |