| RigidBodyCollectionSetItem Method |
Replaces the element at the specified index.
Namespace: DigitalRune.PhysicsAssembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax protected override void SetItem(
int index,
RigidBody item
)
Protected Overrides Sub SetItem (
index As Integer,
item As RigidBody
)
protected:
virtual void SetItem(
int index,
RigidBody^ item
) override
abstract SetItem :
index : int *
item : RigidBody -> unit
override SetItem :
index : int *
item : RigidBody -> unit
Parameters
- index
- Type: SystemInt32
The zero-based index of the element to replace. - item
- Type: DigitalRune.PhysicsRigidBody
The new value for the element at the specified index.
Exceptions See Also