BEPUphysics.NarrowPhaseSystems.Pairs.CollidablePairHandler.GetContactInformation C# (CSharp) Method

GetContactInformation() protected abstract method

protected abstract GetContactInformation ( int index, ContactInformation &info ) : void
index int
info ContactInformation
return void
        protected internal abstract void GetContactInformation(int index, out ContactInformation info);

Usage Example

Example #1
0
 /// <summary>
 /// Gets or sets the element at the specified index.
 /// </summary>
 /// <returns>
 /// The element at the specified index.
 /// </returns>
 /// <param name="index">The zero-based index of the element to get or set.</param><exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index"/> is not a valid index in the <see cref="T:System.Collections.Generic.IList`1"/>.</exception><exception cref="T:System.NotSupportedException">The property is set and the <see cref="T:System.Collections.Generic.IList`1"/> is read-only.</exception>
 public ContactInformation this[int index]
 {
     get
     {
         ContactInformation toReturn;
         pair.GetContactInformation(index, out toReturn);
         return(toReturn);
     }
     set
     {
         throw new NotSupportedException();
     }
 }