Table of Contents

Class BezierKeyframeCollection<T>

Namespace
Lime
Assembly
Lime.dll
public class BezierKeyframeCollection<T> : ICollection<BezierKeyframe<T>>, IEnumerable<BezierKeyframe<T>>, IKeyframeCollection, ICollection<IKeyframe>, IEnumerable<IKeyframe>, IKeyframeCollection<T>, ICollection<IKeyframe<T>>, IEnumerable<IKeyframe<T>>, IBezierKeyframeCollection, ICollection<IBezierKeyframe>, IEnumerable<IBezierKeyframe>, IEnumerable

Type Parameters

T
Inheritance
BezierKeyframeCollection<T>
Implements
Inherited Members

Properties

Count

Gets the number of elements contained in the ICollection<T>.

public int Count { get; }

Property Value

int

The number of elements contained in the ICollection<T>.

IsReadOnly

Gets a value indicating whether the ICollection<T> is read-only.

public bool IsReadOnly { get; }

Property Value

bool

true if the ICollection<T> is read-only; otherwise, false.

this[int]

public BezierKeyframe<T> this[int index] { get; }

Parameters

index int

Property Value

BezierKeyframe<T>

Methods

Add(BezierKeyframe<T>)

Adds an item to the ICollection<T>.

public void Add(BezierKeyframe<T> item)

Parameters

item BezierKeyframe<T>

The object to add to the ICollection<T>.

Exceptions

NotSupportedException

The ICollection<T> is read-only.

Add(IBezierKeyframe)

Adds an item to the ICollection<T>.

public void Add(IBezierKeyframe item)

Parameters

item IBezierKeyframe

The object to add to the ICollection<T>.

Exceptions

NotSupportedException

The ICollection<T> is read-only.

Add(IKeyframe)

Adds an item to the ICollection<T>.

public void Add(IKeyframe item)

Parameters

item IKeyframe

The object to add to the ICollection<T>.

Exceptions

NotSupportedException

The ICollection<T> is read-only.

Add(IKeyframe<T>)

Adds an item to the ICollection<T>.

public void Add(IKeyframe<T> item)

Parameters

item IKeyframe<T>

The object to add to the ICollection<T>.

Exceptions

NotSupportedException

The ICollection<T> is read-only.

Add(int, object)

public void Add(int frame, object value)

Parameters

frame int
value object

Add(int, T)

public void Add(int frame, T value)

Parameters

frame int
value T

AddRange(IEnumerable<IKeyframe<T>>)

public void AddRange(IEnumerable<IKeyframe<T>> keyframes)

Parameters

keyframes IEnumerable<IKeyframe<T>>

AddRange(IEnumerable<IKeyframe>)

public void AddRange(IEnumerable<IKeyframe> keyframes)

Parameters

keyframes IEnumerable<IKeyframe>

Clear()

Removes all items from the ICollection<T>.

public void Clear()

Exceptions

NotSupportedException

The ICollection<T> is read-only.

Contains(BezierKeyframe<T>)

Determines whether the ICollection<T> contains a specific value.

public bool Contains(BezierKeyframe<T> item)

Parameters

item BezierKeyframe<T>

The object to locate in the ICollection<T>.

Returns

bool

true if item is found in the ICollection<T>; otherwise, false.

Contains(IBezierKeyframe)

Determines whether the ICollection<T> contains a specific value.

public bool Contains(IBezierKeyframe item)

Parameters

item IBezierKeyframe

The object to locate in the ICollection<T>.

Returns

bool

true if item is found in the ICollection<T>; otherwise, false.

Contains(IKeyframe)

Determines whether the ICollection<T> contains a specific value.

public bool Contains(IKeyframe item)

Parameters

item IKeyframe

The object to locate in the ICollection<T>.

Returns

bool

true if item is found in the ICollection<T>; otherwise, false.

Contains(IKeyframe<T>)

Determines whether the ICollection<T> contains a specific value.

public bool Contains(IKeyframe<T> item)

Parameters

item IKeyframe<T>

The object to locate in the ICollection<T>.

Returns

bool

true if item is found in the ICollection<T>; otherwise, false.

Contains(int)

public bool Contains(int frame)

Parameters

frame int

Returns

bool

CopyTo(BezierKeyframe<T>[], int)

Copies the elements of the ICollection<T> to an Array, starting at a particular Array index.

public void CopyTo(BezierKeyframe<T>[] array, int index)

Parameters

array BezierKeyframe<T>[]

The one-dimensional Array that is the destination of the elements copied from ICollection<T>. The Array must have zero-based indexing.

index int

Exceptions

ArgumentNullException

array is null.

ArgumentOutOfRangeException

arrayIndex is less than 0.

ArgumentException

The number of elements in the source ICollection<T> is greater than the available space from arrayIndex to the end of the destination array.

CopyTo(IBezierKeyframe[], int)

Copies the elements of the ICollection<T> to an Array, starting at a particular Array index.

public void CopyTo(IBezierKeyframe[] array, int arrayIndex)

Parameters

array IBezierKeyframe[]

The one-dimensional Array that is the destination of the elements copied from ICollection<T>. The Array must have zero-based indexing.

arrayIndex int

The zero-based index in array at which copying begins.

Exceptions

ArgumentNullException

array is null.

ArgumentOutOfRangeException

arrayIndex is less than 0.

ArgumentException

The number of elements in the source ICollection<T> is greater than the available space from arrayIndex to the end of the destination array.

CopyTo(IKeyframe[], int)

Copies the elements of the ICollection<T> to an Array, starting at a particular Array index.

public void CopyTo(IKeyframe[] array, int arrayIndex)

Parameters

array IKeyframe[]

The one-dimensional Array that is the destination of the elements copied from ICollection<T>. The Array must have zero-based indexing.

arrayIndex int

The zero-based index in array at which copying begins.

Exceptions

ArgumentNullException

array is null.

ArgumentOutOfRangeException

arrayIndex is less than 0.

ArgumentException

The number of elements in the source ICollection<T> is greater than the available space from arrayIndex to the end of the destination array.

CopyTo(IKeyframe<T>[], int)

Copies the elements of the ICollection<T> to an Array, starting at a particular Array index.

public void CopyTo(IKeyframe<T>[] array, int arrayIndex)

Parameters

array IKeyframe<T>[]

The one-dimensional Array that is the destination of the elements copied from ICollection<T>. The Array must have zero-based indexing.

arrayIndex int

The zero-based index in array at which copying begins.

Exceptions

ArgumentNullException

array is null.

ArgumentOutOfRangeException

arrayIndex is less than 0.

ArgumentException

The number of elements in the source ICollection<T> is greater than the available space from arrayIndex to the end of the destination array.

GetByFrame(int)

public BezierKeyframe<T> GetByFrame(int frame)

Parameters

frame int

Returns

BezierKeyframe<T>

GetEnumerator()

public BezierKeyframeCollection<T>.Enumerator GetEnumerator()

Returns

BezierKeyframeCollection<T>.Enumerator

IndexOf(BezierKeyframe<T>)

public int IndexOf(BezierKeyframe<T> item)

Parameters

item BezierKeyframe<T>

Returns

int

IndexOf(int)

public int IndexOf(int frame)

Parameters

frame int

Returns

int

Remove(BezierKeyframe<T>)

Removes the first occurrence of a specific object from the ICollection<T>.

public bool Remove(BezierKeyframe<T> item)

Parameters

item BezierKeyframe<T>

The object to remove from the ICollection<T>.

Returns

bool

true if item was successfully removed from the ICollection<T>; otherwise, false. This method also returns false if item is not found in the original ICollection<T>.

Exceptions

NotSupportedException

The ICollection<T> is read-only.

Remove(IBezierKeyframe)

Removes the first occurrence of a specific object from the ICollection<T>.

public bool Remove(IBezierKeyframe item)

Parameters

item IBezierKeyframe

The object to remove from the ICollection<T>.

Returns

bool

true if item was successfully removed from the ICollection<T>; otherwise, false. This method also returns false if item is not found in the original ICollection<T>.

Exceptions

NotSupportedException

The ICollection<T> is read-only.

Remove(IKeyframe)

Removes the first occurrence of a specific object from the ICollection<T>.

public bool Remove(IKeyframe item)

Parameters

item IKeyframe

The object to remove from the ICollection<T>.

Returns

bool

true if item was successfully removed from the ICollection<T>; otherwise, false. This method also returns false if item is not found in the original ICollection<T>.

Exceptions

NotSupportedException

The ICollection<T> is read-only.

Remove(IKeyframe<T>)

Removes the first occurrence of a specific object from the ICollection<T>.

public bool Remove(IKeyframe<T> item)

Parameters

item IKeyframe<T>

The object to remove from the ICollection<T>.

Returns

bool

true if item was successfully removed from the ICollection<T>; otherwise, false. This method also returns false if item is not found in the original ICollection<T>.

Exceptions

NotSupportedException

The ICollection<T> is read-only.

Remove(int)

public bool Remove(int frame)

Parameters

frame int

Returns

bool

RemoveAt(int)

public void RemoveAt(int index)

Parameters

index int

Update(int, IKeyframe<T>)

public void Update(int index, IKeyframe<T> keyframe)

Parameters

index int
keyframe IKeyframe<T>

Update(int, object, object, object, object, object)

public void Update(int index, object value, object inSlope, object outSlope, object inWeight, object outWeight)

Parameters

index int
value object
inSlope object
outSlope object
inWeight object
outWeight object

Update(int, T, T, T, T, T)

public void Update(int index, T value, T inSlope, T outSlope, T inWeight, T outWeight)

Parameters

index int
value T
inSlope T
outSlope T
inWeight T
outWeight T