using Godot; namespace Rokojori { // Generated by ShaderClassGenerator public class SliderShader { public static readonly CachedResource shader = new CachedResource( "res://addons/rokojori_action_library/Runtime/UI/Shaders/Slider/Slider.gdshader" ); public static readonly FloatPropertyName opacity = FloatPropertyName.Create( "opacity" ); public static readonly BoolPropertyName blendLinear = BoolPropertyName.Create( "blendLinear" ); public static readonly Vector2PropertyName size = Vector2PropertyName.Create( "size" ); public static readonly FloatPropertyName sharpness = FloatPropertyName.Create( "sharpness" ); public static readonly FloatPropertyName borderRadius = FloatPropertyName.Create( "borderRadius" ); public static readonly FloatPropertyName offset = FloatPropertyName.Create( "offset" ); public static readonly ColorPropertyName fillColor = ColorPropertyName.Create( "fillColor" ); public static readonly Texture2DPropertyName fill = Texture2DPropertyName.Create( "fill" ); public static readonly Vector4PropertyName fillUvTransform = Vector4PropertyName.Create( "fillUVTransform" ); public static readonly Texture2DPropertyName screenFillMultiply = Texture2DPropertyName.Create( "screenFillMultiply" ); public static readonly Vector4PropertyName screenfillMultiplyUvTransform = Vector4PropertyName.Create( "screenfillMultiplyUVTransform" ); public static readonly Vector2PropertyName screenfillMultiplyUvMovement = Vector2PropertyName.Create( "screenfillMultiplyUVMovement" ); public static readonly FloatPropertyName strokeSize = FloatPropertyName.Create( "strokeSize" ); public static readonly ColorPropertyName strokeColor = ColorPropertyName.Create( "strokeColor" ); public static readonly Texture2DPropertyName stroke = Texture2DPropertyName.Create( "stroke" ); public static readonly Vector4PropertyName strokeUvTransform = Vector4PropertyName.Create( "strokeUVTransform" ); public static readonly Texture2DPropertyName screenStrokeMultiply = Texture2DPropertyName.Create( "screenStrokeMultiply" ); public static readonly Vector4PropertyName screenStrokeMultiplyUvTransform = Vector4PropertyName.Create( "screenStrokeMultiplyUVTransform" ); public static readonly Vector2PropertyName screenStrokeMultiplyUvMovment = Vector2PropertyName.Create( "screenStrokeMultiplyUVMovment" ); public static readonly Vector2PropertyName sliderSize = Vector2PropertyName.Create( "sliderSize" ); public static readonly Vector2PropertyName sliderSizeMargins = Vector2PropertyName.Create( "sliderSizeMargins" ); public static readonly FloatPropertyName sliderBorders = FloatPropertyName.Create( "sliderBorders" ); public static readonly Vector2PropertyName sliderValue = Vector2PropertyName.Create( "sliderValue" ); public static readonly ColorPropertyName sliderFillColor = ColorPropertyName.Create( "sliderFillColor" ); public static readonly ColorPropertyName sliderStrokeColor = ColorPropertyName.Create( "sliderStrokeColor" ); public static readonly FloatPropertyName sliderStrokeSize = FloatPropertyName.Create( "sliderStrokeSize" ); } [Tool] public partial class SliderMaterial:CustomMaterial { public readonly CustomMaterialProperty opacity; public readonly CustomMaterialProperty blendLinear; public readonly CustomMaterialProperty size; public readonly CustomMaterialProperty sharpness; public readonly CustomMaterialProperty borderRadius; public readonly CustomMaterialProperty offset; public readonly CustomMaterialProperty fillColor; public readonly CustomMaterialProperty fill; public readonly CustomMaterialProperty fillUvTransform; public readonly CustomMaterialProperty screenFillMultiply; public readonly CustomMaterialProperty screenfillMultiplyUvTransform; public readonly CustomMaterialProperty screenfillMultiplyUvMovement; public readonly CustomMaterialProperty strokeSize; public readonly CustomMaterialProperty strokeColor; public readonly CustomMaterialProperty stroke; public readonly CustomMaterialProperty strokeUvTransform; public readonly CustomMaterialProperty screenStrokeMultiply; public readonly CustomMaterialProperty screenStrokeMultiplyUvTransform; public readonly CustomMaterialProperty screenStrokeMultiplyUvMovment; public readonly CustomMaterialProperty sliderSize; public readonly CustomMaterialProperty sliderSizeMargins; public readonly CustomMaterialProperty sliderBorders; public readonly CustomMaterialProperty sliderValue; public readonly CustomMaterialProperty sliderFillColor; public readonly CustomMaterialProperty sliderStrokeColor; public readonly CustomMaterialProperty sliderStrokeSize; public SliderMaterial() { Shader = SliderShader.shader.Get(); opacity = new CustomMaterialProperty( this, SliderShader.opacity ); blendLinear = new CustomMaterialProperty( this, SliderShader.blendLinear ); size = new CustomMaterialProperty( this, SliderShader.size ); sharpness = new CustomMaterialProperty( this, SliderShader.sharpness ); borderRadius = new CustomMaterialProperty( this, SliderShader.borderRadius ); offset = new CustomMaterialProperty( this, SliderShader.offset ); fillColor = new CustomMaterialProperty( this, SliderShader.fillColor ); fill = new CustomMaterialProperty( this, SliderShader.fill ); fillUvTransform = new CustomMaterialProperty( this, SliderShader.fillUvTransform ); screenFillMultiply = new CustomMaterialProperty( this, SliderShader.screenFillMultiply ); screenfillMultiplyUvTransform = new CustomMaterialProperty( this, SliderShader.screenfillMultiplyUvTransform ); screenfillMultiplyUvMovement = new CustomMaterialProperty( this, SliderShader.screenfillMultiplyUvMovement ); strokeSize = new CustomMaterialProperty( this, SliderShader.strokeSize ); strokeColor = new CustomMaterialProperty( this, SliderShader.strokeColor ); stroke = new CustomMaterialProperty( this, SliderShader.stroke ); strokeUvTransform = new CustomMaterialProperty( this, SliderShader.strokeUvTransform ); screenStrokeMultiply = new CustomMaterialProperty( this, SliderShader.screenStrokeMultiply ); screenStrokeMultiplyUvTransform = new CustomMaterialProperty( this, SliderShader.screenStrokeMultiplyUvTransform ); screenStrokeMultiplyUvMovment = new CustomMaterialProperty( this, SliderShader.screenStrokeMultiplyUvMovment ); sliderSize = new CustomMaterialProperty( this, SliderShader.sliderSize ); sliderSizeMargins = new CustomMaterialProperty( this, SliderShader.sliderSizeMargins ); sliderBorders = new CustomMaterialProperty( this, SliderShader.sliderBorders ); sliderValue = new CustomMaterialProperty( this, SliderShader.sliderValue ); sliderFillColor = new CustomMaterialProperty( this, SliderShader.sliderFillColor ); sliderStrokeColor = new CustomMaterialProperty( this, SliderShader.sliderStrokeColor ); sliderStrokeSize = new CustomMaterialProperty( this, SliderShader.sliderStrokeSize ); } } }