Add an alternative type and isolevel to the default channels enum.

This commit is contained in:
Relintai 2020-08-21 20:02:47 +02:00
parent 5938f7f783
commit 142809d0cb
2 changed files with 4 additions and 0 deletions

View File

@ -2219,6 +2219,8 @@ void VoxelChunkDefault::_bind_methods() {
BIND_ENUM_CONSTANT(DEFAULT_CHANNEL_TYPE);
BIND_ENUM_CONSTANT(DEFAULT_CHANNEL_ISOLEVEL);
BIND_ENUM_CONSTANT(DEFAULT_CHANNEL_ALT_TYPE);
BIND_ENUM_CONSTANT(DEFAULT_CHANNEL_ALT_ISOLEVEL);
BIND_ENUM_CONSTANT(DEFAULT_CHANNEL_LIGHT_COLOR_R);
BIND_ENUM_CONSTANT(DEFAULT_CHANNEL_LIGHT_COLOR_G);
BIND_ENUM_CONSTANT(DEFAULT_CHANNEL_LIGHT_COLOR_B);

View File

@ -83,6 +83,8 @@ public:
enum DefaultChannels {
DEFAULT_CHANNEL_TYPE = 0,
DEFAULT_CHANNEL_ISOLEVEL,
DEFAULT_CHANNEL_ALT_TYPE,
DEFAULT_CHANNEL_ALT_ISOLEVEL,
DEFAULT_CHANNEL_LIGHT_COLOR_R,
DEFAULT_CHANNEL_LIGHT_COLOR_G,
DEFAULT_CHANNEL_LIGHT_COLOR_B,