Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

VRageMath.CurveKeyCollection

Morten Aune Lyrstad edited this page Apr 16, 2022 · 51 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)

void Add(CurveKey)

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)

Determines whether the CurveKeyCollection contains a specific CurveKey.

void CopyTo(CurveKey&#91], int)

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)

Determines the index of a CurveKey in the CurveKeyCollection.

bool Remove(CurveKey)

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

void RemoveAt(int)

Removes the CurveKey at the specified index.

Clone this wiki locally