using Godot; namespace Rokojori { // Generated by ShaderClassGenerator public class RoundedRectangleShader { public static readonly CachedResource shader = new CachedResource( "res://addons/rokojori_action_library/Runtime/UI/Shaders/RoundedRectangle/RoundedRectangle.gdshader" ); 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 strokeSize = FloatPropertyName.Create( "strokeSize" ); public static readonly FloatPropertyName offset = FloatPropertyName.Create( "offset" ); public static readonly ColorPropertyName fillColor = ColorPropertyName.Create( "fillColor" ); public static readonly Vector4PropertyName fillUvTransform = Vector4PropertyName.Create( "fillUVTransform" ); public static readonly Vector4PropertyName screenfillMultiplyUvTransform = Vector4PropertyName.Create( "screenfillMultiplyUVTransform" ); public static readonly Vector2PropertyName screenfillMultiplyUvMovement = Vector2PropertyName.Create( "screenfillMultiplyUVMovement" ); public static readonly ColorPropertyName strokeColor = ColorPropertyName.Create( "strokeColor" ); public static readonly Vector4PropertyName strokeUvTransform = Vector4PropertyName.Create( "strokeUVTransform" ); public static readonly Vector4PropertyName screenStrokeMultiplyUvTransform = Vector4PropertyName.Create( "screenStrokeMultiplyUVTransform" ); public static readonly Vector2PropertyName screenStrokeMultiplyUvMovment = Vector2PropertyName.Create( "screenStrokeMultiplyUVMovment" ); public static readonly FloatPropertyName opacity = FloatPropertyName.Create( "opacity" ); public static readonly Texture2DPropertyName fill = Texture2DPropertyName.Create( "fill" ); public static readonly Texture2DPropertyName screenFillMultiply = Texture2DPropertyName.Create( "screenFillMultiply" ); public static readonly Texture2DPropertyName stroke = Texture2DPropertyName.Create( "stroke" ); public static readonly Texture2DPropertyName screenStrokeMultiply = Texture2DPropertyName.Create( "screenStrokeMultiply" ); } [Tool] [GlobalClass] public partial class RoundedRectangleMaterial:CustomMaterial { public readonly CustomMaterialProperty size; public readonly CustomMaterialProperty sharpness; public readonly CustomMaterialProperty borderRadius; public readonly CustomMaterialProperty strokeSize; public readonly CustomMaterialProperty offset; public readonly CustomMaterialProperty fillColor; public readonly CustomMaterialProperty fillUvTransform; public readonly CustomMaterialProperty screenfillMultiplyUvTransform; public readonly CustomMaterialProperty screenfillMultiplyUvMovement; public readonly CustomMaterialProperty strokeColor; public readonly CustomMaterialProperty strokeUvTransform; public readonly CustomMaterialProperty screenStrokeMultiplyUvTransform; public readonly CustomMaterialProperty screenStrokeMultiplyUvMovment; public readonly CustomMaterialProperty opacity; public readonly CustomMaterialProperty fill; public readonly CustomMaterialProperty screenFillMultiply; public readonly CustomMaterialProperty stroke; public readonly CustomMaterialProperty screenStrokeMultiply; public RoundedRectangleMaterial() { Shader = RoundedRectangleShader.shader.Get(); size = new CustomMaterialProperty( this, RoundedRectangleShader.size ); sharpness = new CustomMaterialProperty( this, RoundedRectangleShader.sharpness ); borderRadius = new CustomMaterialProperty( this, RoundedRectangleShader.borderRadius ); strokeSize = new CustomMaterialProperty( this, RoundedRectangleShader.strokeSize ); offset = new CustomMaterialProperty( this, RoundedRectangleShader.offset ); fillColor = new CustomMaterialProperty( this, RoundedRectangleShader.fillColor ); fillUvTransform = new CustomMaterialProperty( this, RoundedRectangleShader.fillUvTransform ); screenfillMultiplyUvTransform = new CustomMaterialProperty( this, RoundedRectangleShader.screenfillMultiplyUvTransform ); screenfillMultiplyUvMovement = new CustomMaterialProperty( this, RoundedRectangleShader.screenfillMultiplyUvMovement ); strokeColor = new CustomMaterialProperty( this, RoundedRectangleShader.strokeColor ); strokeUvTransform = new CustomMaterialProperty( this, RoundedRectangleShader.strokeUvTransform ); screenStrokeMultiplyUvTransform = new CustomMaterialProperty( this, RoundedRectangleShader.screenStrokeMultiplyUvTransform ); screenStrokeMultiplyUvMovment = new CustomMaterialProperty( this, RoundedRectangleShader.screenStrokeMultiplyUvMovment ); opacity = new CustomMaterialProperty( this, RoundedRectangleShader.opacity ); fill = new CustomMaterialProperty( this, RoundedRectangleShader.fill ); screenFillMultiply = new CustomMaterialProperty( this, RoundedRectangleShader.screenFillMultiply ); stroke = new CustomMaterialProperty( this, RoundedRectangleShader.stroke ); screenStrokeMultiply = new CustomMaterialProperty( this, RoundedRectangleShader.screenStrokeMultiply ); } } }