Class JointCollection
- Namespace
- Alis.Core.Physic.Dynamics
- Assembly
- Alis.dll
The joint collection class
public class JointCollection : IList<Joint>, ICollection<Joint>, IEnumerable<Joint>, IEnumerableInheritance
Implements
Inherited Members
Constructors
JointCollection(World)
Initializes a new instance of the Alis.Core.Physic.Dynamics.JointCollection class
public JointCollection(World world)Parameters
worldWorld-
The world
Fields
_generationStamp
The generation stamp
internal int _generationStampField Value
_list
The joint
internal readonly List<Joint> _listField Value
_world
The world
private readonly World _worldField Value
Properties
Count
Gets the value of the count
public int Count { get; }Property Value
IsReadOnly
Gets the value of the is read only
public bool IsReadOnly { get; }Property Value
this[int]
The not supported exception
public Joint this[int index] { get; set; }Property Value
Methods
Contains(Joint)
Describes whether this instance contains
public bool Contains(Joint item)Parameters
itemJoint-
The item
Returns
- bool
-
The bool
CopyTo(Joint[], int)
Copies the to using the specified array
public void CopyTo(Joint[] array, int arrayIndex)Parameters
GetEnumerator()
Gets the enumerator
public JointCollection.JointEnumerator GetEnumerator()Returns
- JointCollection.JointEnumerator
-
The joint enumerator
IndexOf(Joint)
Indexes the of using the specified item
public int IndexOf(Joint item)Parameters
itemJoint-
The item
Returns
- int
-
The int
ICollection<Joint>.Add(Joint)
Adds the item
void ICollection<Joint>.Add(Joint item)Parameters
itemJoint-
The item
Exceptions
ICollection<Joint>.Clear()
Clears this instance
void ICollection<Joint>.Clear()Exceptions
ICollection<Joint>.Remove(Joint)
Describes whether this instance remove
bool ICollection<Joint>.Remove(Joint item)Parameters
itemJoint-
The item
Returns
- bool
-
The bool
IEnumerable<Joint>.GetEnumerator()
Gets the enumerator
IEnumerator<Joint> IEnumerable<Joint>.GetEnumerator()Returns
- IEnumerator<Joint>
-
An enumerator of joint
IList<Joint>.Insert(int, Joint)
Inserts the index
void IList<Joint>.Insert(int index, Joint item)Parameters
Exceptions
IList<Joint>.RemoveAt(int)
Removes the at using the specified index
void IList<Joint>.RemoveAt(int index)Parameters
indexint-
The index
Exceptions
IEnumerable.GetEnumerator()
Gets the enumerator
IEnumerator IEnumerable.GetEnumerator()Returns
- IEnumerator
-
The enumerator
See Also
-
IEnumerable<T>ICollection<T>IList<T>