Even More Modifiers  1.0.0.0
A mod for rolling various bonus stats on items
ShaderGraphicsProperties.cs
Go to the documentation of this file.
1 using Loot.Api.Builder;
4 
5 namespace Loot.Api.Graphics.Shader
6 {
11  {
13 
14  public ShaderDrawLayer DrawLayer { get; set; } = ShaderDrawLayer.Back;
16  public bool SkipDrawingSubject { get; set; }
17  public bool SkipDrawingShader { get; set; }
18 
22  public class ShaderGraphicsPropertiesBuilder : PropertyBuilder<ShaderGraphicsProperties>
23  {
24  protected override ShaderGraphicsProperties DefaultProperty
25  {
26  set
27  {
28  Property.SkipDrawing = value.SkipDrawing;
29  Property.SkipDrawingSubject = value.SkipDrawingSubject;
30  Property.SkipDrawingGlowmask = value.SkipDrawingGlowmask;
31  Property.SkipDrawingShader = value.SkipDrawingShader;
32  }
33  }
34 
36  {
37  Property.DrawLayer = drawLayer;
38  return this;
39  }
40 
42  {
43  Property.ShaderDrawStyle = shaderDrawStyle;
44  return this;
45  }
46 
48  {
49  Property.SkipDrawingSubject = value;
50  return this;
51  }
52 
54  {
55  Property.SkipDrawingShader = value;
56  return this;
57  }
58 
60  {
61  Property.SkipDrawing = value;
62  return this;
63  }
64 
66  {
67  Property.SkipDrawingGlowmask = val;
68  return this;
69  }
70  }
71  }
72 }
Defines a shader drawstyle used by ShaderEntity
Defines the GraphicsProperties for ShaderEntitys which derives from GlowmaskGraphicsProperties ...
Defines the GraphicsProperties for GlowmaskEntitys which derives from GraphicsProperties ...
ShaderGraphicsPropertiesBuilder WithDrawLayer(ShaderDrawLayer drawLayer)
ShaderGraphicsPropertiesBuilder WithShaderDrawStyle(ShaderDrawStyle shaderDrawStyle)
Defines an abstract implementation of IPropertyBuilder<T>