using Godot; namespace Rokojori { // Generated by ShaderClassGenerator public class UINinePatchShader { public static readonly CachedResource shader = new CachedResource( "res://addons/rokojori_action_library/Runtime/UI/Shaders/NinePatch/UINinePatch.gdshader" ); public static readonly Vector2PropertyName size = Vector2PropertyName.Create( "size" ); public static readonly Vector4PropertyName borders = Vector4PropertyName.Create( "borders" ); } [Tool] [GlobalClass] public partial class UINinePatchMaterial:CustomMaterial { public readonly CustomMaterialProperty size; public readonly CustomMaterialProperty borders; public UINinePatchMaterial() { Shader = UINinePatchShader.shader.Get(); size = new CustomMaterialProperty( this, UINinePatchShader.size ); borders = new CustomMaterialProperty( this, UINinePatchShader.borders ); } } }