using Godot; namespace Rokojori { // Generated by ShaderClassGenerator public class ScanGradientShader { public static readonly CachedResource shader = new CachedResource( "res://addons/rokojori_action_library/Runtime/Shading/Shaders/Effects/ScanGradient/ScanGradient.gdshader" ); public static readonly ColorPropertyName albedo = ColorPropertyName.Create( "albedo" ); public static readonly FloatPropertyName grow = FloatPropertyName.Create( "grow" ); public static readonly FloatPropertyName range = FloatPropertyName.Create( "range" ); public static readonly FloatPropertyName offset = FloatPropertyName.Create( "offset" ); public static readonly FloatPropertyName rangeWobble = FloatPropertyName.Create( "rangeWobble" ); public static readonly FloatPropertyName rangeWobbleDuration = FloatPropertyName.Create( "rangeWobbleDuration" ); public static readonly FloatPropertyName offsetWobble = FloatPropertyName.Create( "offsetWobble" ); public static readonly FloatPropertyName offsetWobbleDuration = FloatPropertyName.Create( "offsetWobbleDuration" ); public static readonly FloatPropertyName noiseScale = FloatPropertyName.Create( "noiseScale" ); public static readonly Vector3PropertyName noiseOffset = Vector3PropertyName.Create( "noiseOffset" ); public static readonly FloatPropertyName noiseAmount = FloatPropertyName.Create( "noiseAmount" ); public static readonly FloatPropertyName rgbScale = FloatPropertyName.Create( "rgbScale" ); public static readonly FloatPropertyName alphaScale = FloatPropertyName.Create( "alphaScale" ); public static readonly Texture2DPropertyName textureAlbedo = Texture2DPropertyName.Create( "texture_albedo" ); public static readonly Texture2DPropertyName scanTexture = Texture2DPropertyName.Create( "scanTexture" ); } [Tool] [GlobalClass] public partial class ScanGradientMaterial:CustomMaterial { public static readonly CachedResource White = CustomMaterial.Cached( "res://addons/rokojori_action_library/Runtime/Shading/Shaders/Effects/ScanGradient/ScanGradient White.material" ); public readonly CustomMaterialProperty albedo; public readonly CustomMaterialProperty grow; public readonly CustomMaterialProperty range; public readonly CustomMaterialProperty offset; public readonly CustomMaterialProperty rangeWobble; public readonly CustomMaterialProperty rangeWobbleDuration; public readonly CustomMaterialProperty offsetWobble; public readonly CustomMaterialProperty offsetWobbleDuration; public readonly CustomMaterialProperty noiseScale; public readonly CustomMaterialProperty noiseOffset; public readonly CustomMaterialProperty noiseAmount; public readonly CustomMaterialProperty rgbScale; public readonly CustomMaterialProperty alphaScale; public readonly CustomMaterialProperty textureAlbedo; public readonly CustomMaterialProperty scanTexture; public ScanGradientMaterial() { Shader = ScanGradientShader.shader.Get(); albedo = new CustomMaterialProperty( this, ScanGradientShader.albedo ); grow = new CustomMaterialProperty( this, ScanGradientShader.grow ); range = new CustomMaterialProperty( this, ScanGradientShader.range ); offset = new CustomMaterialProperty( this, ScanGradientShader.offset ); rangeWobble = new CustomMaterialProperty( this, ScanGradientShader.rangeWobble ); rangeWobbleDuration = new CustomMaterialProperty( this, ScanGradientShader.rangeWobbleDuration ); offsetWobble = new CustomMaterialProperty( this, ScanGradientShader.offsetWobble ); offsetWobbleDuration = new CustomMaterialProperty( this, ScanGradientShader.offsetWobbleDuration ); noiseScale = new CustomMaterialProperty( this, ScanGradientShader.noiseScale ); noiseOffset = new CustomMaterialProperty( this, ScanGradientShader.noiseOffset ); noiseAmount = new CustomMaterialProperty( this, ScanGradientShader.noiseAmount ); rgbScale = new CustomMaterialProperty( this, ScanGradientShader.rgbScale ); alphaScale = new CustomMaterialProperty( this, ScanGradientShader.alphaScale ); textureAlbedo = new CustomMaterialProperty( this, ScanGradientShader.textureAlbedo ); scanTexture = new CustomMaterialProperty( this, ScanGradientShader.scanTexture ); } } }