21 lines
466 B
C#
21 lines
466 B
C#
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 );
|
|
}
|
|
}
|
|
} |