Ejemplo n.º 1
0
 public MyDecalMaterial(MyDecalMaterialDesc materialDef, MyStringHash target, MyStringHash source,
                        float minSize, float maxSize, float depth, float rotation)
 {
     Material = materialDef;
     Target   = target;
     Source   = source;
     MinSize  = minSize;
     MaxSize  = maxSize;
     Depth    = depth;
     Rotation = rotation;
 }
 public MyDecalMaterial(MyDecalMaterialDesc materialDef, MyStringHash target, MyStringHash source,
     float minSize, float maxSize, float depth, float rotation)
 {
     Material = materialDef;
     Target = target;
     Source = source;
     MinSize = minSize;
     MaxSize = maxSize;
     Depth = depth;
     Rotation = rotation;
 }
Ejemplo n.º 3
0
 public MyDecalMaterial(MyDecalMaterialDesc materialDef, bool transparent, MyStringHash target, MyStringHash source,
                        float minSize, float maxSize, float depth, float rotation)
 {
     StringId    = MyDecalMaterials.GetStringId(source, target);
     Material    = materialDef;
     Target      = target;
     Source      = source;
     MinSize     = minSize;
     MaxSize     = maxSize;
     Depth       = depth;
     Rotation    = rotation;
     Transparent = transparent;
 }