HierarchyObjectTests AddChildrenToHierarchyObject Method Delta Engine Documentation

Namespace: DeltaEngine.Tests.Entities
Assembly: DeltaEngine.Tests (in DeltaEngine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void AddChildrenToHierarchyObject()
Examples

[Test]
public void AddChildrenToHierarchyObject()
{
    Assert.AreEqual(1, hierarchyObject3D.Children.Count);
    hierarchyObject3D.Add(new SimpleHierarchyObject3D());
    Assert.AreEqual(2, hierarchyObject3D.Children.Count);
    hierarchyObject3D.Children[0].Add(new SimpleHierarchyObject3D());
}
See Also