MeshEditManagerCreateNode Method |
Namespace: VIZCore3D.NET.Manager
public Node CreateNode( int nodeIndex, NodeKind kind, string name )
// VIZCore3D.NET Control private VIZCore3D.NET.VIZCore3DControl vizcore3d; private void Example() { // Parent Node's Index int parentIndex = 0; // Node Name string name = string.Format( "NODE #{0}" , vizcore3d.Object3D.GetNodeCount() ); // Create Node VIZCore3D.NET.Data.Node node = vizcore3d.MeshEdit.CreateNode( parentIndex /* Parent Node's Index */ , Data.NodeKind.ASSEMBLY /* Node Kind : Assembly, Part */ , name /* Node Name */ ); }