2 using Microsoft.Xna.Framework.Graphics;
4 namespace Loot.Api.Graphics.Shader.Style
18 public abstract void DrawShader(SpriteBatch spriteBatch,
ShaderEntity entity);
24 public int NumSegments {
get;
set; } = 8;
25 public int DrawDistance {
get;
set; } = 4;
34 Property.DrawDistance = value.DrawDistance;
40 Property.NumSegments = num;
46 Property.DrawDistance = dist;
Defines a shader drawstyle used by ShaderEntity
Defines a Shader entity, part of GraphicsEntity<T> The entity defines a particular 'shader' "of" the ...
ShaderDrawStylePropertiesBuilder WithSegments(int num)
static ShaderDrawStylePropertiesBuilder Builder
ShaderDrawStyleProperties Properties
ShaderDrawStyle(ShaderDrawStyleProperties properties=null)
Defines an abstract implementation of IPropertyBuilder<T>
ShaderDrawStylePropertiesBuilder WithDrawDistance(int dist)