Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
EffectPermutation.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 using SiliconStudio.Core;
5 using SiliconStudio.Paradox.Assets.Effect.ValueGenerators;
6 
7 namespace SiliconStudio.Paradox.Assets.Effect
8 {
9  /// <summary>
10  /// A set of permutation for a specific effect.
11  /// </summary>
12  [DataContract("!fx.permutation.group")]
13  public class EffectPermutation
14  {
15  /// <summary>
16  /// Initializes a new instance of the <see cref="EffectPermutation"/> class.
17  /// </summary>
19  {
21  Children = new List<EffectPermutation>();
22  }
23 
24  /// <summary>
25  /// Gets or sets the common permutation generator for the specified <see cref="Effect"/>
26  /// </summary>
27  /// <value>The keys.</value>\
28  /// <userdoc>
29  /// The keys and their values. Single values, list of values and range of values (for numeric types) can be set.
30  /// </userdoc>
31  [DataMember(10)]
33 
34  /// <summary>
35  /// Gets or sets the permutation generators for the specified <see cref="Effect"/>
36  /// </summary>
37  /// <value>The permutations.</value>
38  /// <userdoc>
39  /// The children of the permutation. Each child will generate a permutation by taking the values from its parent and adding its own set of values (or overriding the previously defined ones).
40  /// </userdoc>
41  [DataMember(20)]
42  public List<EffectPermutation> Children { get; set; }
43  }
44 }
A set of permutation for a specific effect.
SiliconStudio.Paradox.Input.Keys Keys
Default implementation for a IEffectParameterGenerator using a dictionary of ParameterKey associated ...
EffectPermutation()
Initializes a new instance of the EffectPermutation class.