Beispiel #1
0
 public FogEffectStructure(EffectParameterCollection parameters)
 {
     this.fogType    = new SemanticMappedInt32(parameters, "Fog_Type");
     this.fogColor   = new SemanticMappedVector3(parameters, "Fog_Color");
     this.fogDensity = new SemanticMappedSingle(parameters, "Fog_Density");
 }
 public MaterialEffectStructure(EffectParameterCollection parameters)
 {
     this.diffuse = new SemanticMappedVector3(parameters, "Material_Diffuse");
     this.opacity = new SemanticMappedSingle(parameters, "Material_Opacity");
 }