Property Children
Children
Provides access to the components held by the object.
Declaration
public IList<Scene.Object> Children { get; }
Property Value
Type | Description |
---|---|
IList<Scene.Object> |
Remarks
The components that are taken into account are components of any type being placed or not, being valid or not.
Attention: this list is based on the component ranks internally. This means for you that the result is unpredictable if you try to delete a component while enumerating the list. For that purpose, please make a copy of the list before deleting components.
Examples
The following example shows how to create a copy of the
Children
list using System.Linq namespace.
//using System.Collections.Generic;
//using System.Linq
List<Scene.Object> copyOfChildrenList = obj.Children.ToList();