Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
IMaterialNode.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 using System.Collections.Generic;
4 
5 namespace SiliconStudio.Paradox.Assets.Materials
6 {
7  /// <summary>
8  /// Base interface for all nodes in the material tree
9  /// </summary>
10  public interface IMaterialNode
11  {
12  /// <summary>
13  /// Gets or sets a value indicating whether this node is reducible.
14  /// </summary>
15  /// <value><c>true</c> if this instance is reducible; otherwise, <c>false</c>.</value>
16  bool IsReducible { get; set; }
17 
18  /// <summary>
19  /// Gets the children.
20  /// </summary>
21  /// <param name="context">The context to get the children.</param>
22  /// <returns>The list of children.</returns>
23  IEnumerable<MaterialNodeEntry> GetChildren(object context = null);
24  }
25 }
Base interface for all nodes in the material tree