rj-action-library/Runtime/Shading/Properties/Enums/TextureChannelPropertyName.cs

21 lines
466 B
C#
Raw Normal View History

2025-01-03 12:09:23 +00:00
using Godot;
using System.Reflection;
using System.Collections.Generic;
namespace Rokojori
{
[Tool]
[GlobalClass]
public partial class TextureChannelPropertyName : ShaderPropertyName
{
public void Set( Material material, BaseMaterial3D.TextureChannel value )
{
_Set( material, value );
}
public BaseMaterial3D.TextureChannel Get( Material material )
{
return (BaseMaterial3D.TextureChannel)_Get( material, 0 );
}
}
}