Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MaterialDescriptor"/> class.
 /// </summary>
 public MaterialDescriptor()
 {
     Attributes = new MaterialAttributes();
     Layers     = new MaterialBlendLayers();
     // An instance id, only used to match descriptor
     MaterialId = Guid.NewGuid();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MaterialDescriptor"/> class.
 /// </summary>
 public MaterialDescriptor()
 {
     Attributes = new MaterialAttributes();
     Layers = new MaterialBlendLayers();
     // An instance id, only used to match descriptor
     MaterialId = AssetId.New();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MaterialAsset"/> class.
 /// </summary>
 public MaterialAsset()
 {
     Attributes = new MaterialAttributes();
     Layers = new MaterialBlendLayers();
 }
Exemple #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MaterialAsset"/> class.
 /// </summary>
 public MaterialAsset()
 {
     Attributes = new MaterialAttributes();
     Layers = new MaterialBlendLayers();
     Parameters = new ParameterCollection();
 }