Class Armature
Defines an armature for skeletal animation.
public class Armature : IReadOnlyList<Bone>, IReadOnlyCollection<Bone>, IEnumerable<Bone>, IEnumerable
- Inheritance
-
Armature
- Implements
- Inherited Members
Constructors
Armature()
public Armature()
Armature(IEnumerable<Bone>)
public Armature(IEnumerable<Bone> bones)
Parameters
bones
IEnumerable<Bone>
Properties
Count
Gets the number of elements in the collection.
public int Count { get; }
Property Value
- int
The number of elements in the collection.
Empty
public static Armature Empty { get; }
Property Value
this[int]
Gets the element at the specified index in the read-only list.
public Bone this[int index] { get; }
Parameters
index
intThe zero-based index of the element to get.
Property Value
- Bone
The element at the specified index in the read-only list.
Methods
GetEnumerator()
Returns an enumerator that iterates through the collection.
public IEnumerator<Bone> GetEnumerator()
Returns
- IEnumerator<Bone>
An enumerator that can be used to iterate through the collection.