mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-23 20:36:53 +01:00
Removed duplicate binds.
This commit is contained in:
parent
8a057a643e
commit
90f6ba8369
@ -44,7 +44,4 @@ void MMGreyscaleUniform::_bind_methods() {
|
|||||||
ClassDB::bind_method(D_METHOD("get_uniform"), &MMGreyscaleUniform::get_uniform);
|
ClassDB::bind_method(D_METHOD("get_uniform"), &MMGreyscaleUniform::get_uniform);
|
||||||
ClassDB::bind_method(D_METHOD("set_uniform", "value"), &MMGreyscaleUniform::set_uniform);
|
ClassDB::bind_method(D_METHOD("set_uniform", "value"), &MMGreyscaleUniform::set_uniform);
|
||||||
ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "uniform", PROPERTY_HINT_RESOURCE_TYPE, "Ref<MMNodeUniversalProperty>"), "set_uniform", "get_uniform");
|
ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "uniform", PROPERTY_HINT_RESOURCE_TYPE, "Ref<MMNodeUniversalProperty>"), "set_uniform", "get_uniform");
|
||||||
|
|
||||||
ClassDB::bind_method(D_METHOD("_init_properties"), &MMGreyscaleUniform::_init_properties);
|
|
||||||
ClassDB::bind_method(D_METHOD("_get_value_for", "uv", "pseed"), &MMGreyscaleUniform::_get_value_for);
|
|
||||||
}
|
}
|
||||||
|
@ -40,8 +40,4 @@ void MMUniform::_bind_methods() {
|
|||||||
ClassDB::bind_method(D_METHOD("get_uniform"), &MMUniform::get_uniform);
|
ClassDB::bind_method(D_METHOD("get_uniform"), &MMUniform::get_uniform);
|
||||||
ClassDB::bind_method(D_METHOD("set_uniform", "value"), &MMUniform::set_uniform);
|
ClassDB::bind_method(D_METHOD("set_uniform", "value"), &MMUniform::set_uniform);
|
||||||
ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "uniform", PROPERTY_HINT_RESOURCE_TYPE, "MMNodeUniversalProperty"), "set_uniform", "get_uniform");
|
ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "uniform", PROPERTY_HINT_RESOURCE_TYPE, "MMNodeUniversalProperty"), "set_uniform", "get_uniform");
|
||||||
|
|
||||||
ClassDB::bind_method(D_METHOD("_init_properties"), &MMUniform::_init_properties);
|
|
||||||
//ClassDB::bind_method(D_METHOD("_register_methods", "mm_graph_node"), &MMUniform::_register_methods);
|
|
||||||
ClassDB::bind_method(D_METHOD("_get_value_for", "uv", "pseed"), &MMUniform::_get_value_for);
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user