We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cc445c commit 4520f24Copy full SHA for 4520f24
1 file changed
bindings/python/src/model/mixin/core/component.cpp
@@ -30,7 +30,9 @@
30
"Component" + std::to_string( dimension ) + "D"; \
31
pybind11::class_< Component##dimension##D, Identifier, \
32
pybind11::smart_holder >( module, name##dimension.c_str() ) \
33
- .def( "component_type", &Component##dimension##D::component_type )
+ .def( "component_type", &Component##dimension##D::component_type ) \
34
+ .def( "component_id", &Component##dimension##D::component_id ) \
35
+ .def( "is_active", &Component##dimension##D::is_active )
36
37
namespace geode
38
{
0 commit comments