Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

VRageMath.CurveKeyCollection

Morten Aune Lyrstad edited this page Apr 16, 2022 · 50 revisions

IndexNamespace Index

CurveKeyCollection Class

public class CurveKeyCollection: ICollection<CurveKey>, IEnumerable<CurveKey>, IEnumerable

Contains the CurveKeys making up a Curve.

Namespace: VRageMath
Assembly: VRage.Math.dll

Implements:

Properties

int Count { get; }

Gets the number of elements contained in the CurveKeyCollection.

bool IsReadOnly { get; }

Returns a value indicating whether the CurveKeyCollection is read-only.

CurveKey Item { get; set; }

Constructors

CurveKeyCollection()

Methods

void Add(object tmp)

void Add(CurveKey item)

Adds a CurveKey to the CurveKeyCollection.

void Clear()

Removes all CurveKeys from the CurveKeyCollection.

CurveKeyCollection Clone()

Creates a copy of the CurveKeyCollection.

bool Contains(CurveKey item)

Determines whether the CurveKeyCollection contains a specific CurveKey.

void CopyTo(CurveKey&#91] array, int arrayIndex)

Copies the CurveKeys of the CurveKeyCollection to an array, starting at the array index provided.

IEnumerator<CurveKey> GetEnumerator()

Returns an enumerator that iterates through the CurveKeyCollection.

int IndexOf(CurveKey item)

Determines the index of a CurveKey in the CurveKeyCollection.

bool Remove(CurveKey item)

Removes the first occurrence of a specific CurveKey from the CurveKeyCollection.

void RemoveAt(int index)

Removes the CurveKey at the specified index.

Clone this wiki locally