Exemple #1
0
 private void AddObjects(MaterialWrapper mtlWrapper, TreeNodeCollection parentCol)
 {
    TreeNode objectsTn = new TreeNode(Resources.Str_Objects);
    objectsTn.ImageKey = "geometry";
    objectsTn.FontStyle = System.Drawing.FontStyle.Italic;
    foreach (IINode node in mtlWrapper.ChildINodes)
    {
       this.AddNode(node, objectsTn.Nodes);
    }
    parentCol.Add(objectsTn);
 }
Exemple #2
0
 private void AddTextureMaps(MaterialWrapper mtlWrapper, TreeNodeCollection parentCol)
 {
    TreeNode texmapsTn = new TreeNode(Resources.Str_TextureMaps);
    texmapsTn.FontStyle = System.Drawing.FontStyle.Italic;
    foreach (ITexmap texmap in mtlWrapper.ChildTextureMaps)
    {
       this.AddNode(texmap, texmapsTn.Nodes);
    }
    parentCol.Add(texmapsTn);
 }