expose View methods for transparent picking
This commit is contained in:
1 parent
83e4a5142a
commit
f9a7ac49a1
6 files changed
+56
No files matched your search
@@ -284,6 +284,16 @@ namespace thermion
|
||||
view->setName(name);
|
||||
}
|
||||
|
||||
EMSCRIPTEN_KEEPALIVE void View_setTransparentPickingEnabled(TView* tView, bool enabled) {
|
||||
auto view = reinterpret_cast<View *>(tView);
|
||||
view->setTransparentPickingEnabled(enabled);
|
||||
}
|
||||
|
||||
EMSCRIPTEN_KEEPALIVE bool View_isTransparentPickingEnabled(TView* tView) {
|
||||
auto view = reinterpret_cast<View *>(tView);
|
||||
return view->isTransparentPickingEnabled();
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user