Class NodeComponentCollection
- Namespace
- Lime
- Assembly
- Lime.dll
public class NodeComponentCollection : ComponentCollection<NodeComponent>, ICollection<NodeComponent>, IEnumerable<NodeComponent>, IEnumerable
- Inheritance
-
NodeComponentCollection
- Implements
- Inherited Members
- Extension Methods
Constructors
NodeComponentCollection(Node)
public NodeComponentCollection(Node owner)
Parameters
owner
Node
Properties
AnimationComponent
public AnimationComponent AnimationComponent { get; }
Property Value
Methods
Add(NodeComponent)
Adds an item to the ICollection<T>.
public override void Add(NodeComponent component)
Parameters
component
NodeComponent
Exceptions
- NotSupportedException
The ICollection<T> is read-only.
Contains(NodeComponent)
Determines whether the ICollection<T> contains a specific value.
public override bool Contains(NodeComponent component)
Parameters
component
NodeComponent
Returns
- bool
true if
item
is found in the ICollection<T>; otherwise, false.
OnRemove(NodeComponent)
protected override void OnRemove(NodeComponent component)
Parameters
component
NodeComponent
SerializeItemIf(int, object)
public bool SerializeItemIf(int index, object component)