0 purchases
three js transform controls
three_js_transform_controls #
A type of three_js camera controller that allows users to add either arcball or transform controller to thier projects.
This is a dart conversion of three.js and three_dart, originally created by @mrdoob and has a coverted dart fork by @wasabia.
Getting started #
To get started add this to your pubspec.yaml file along with the other portions three_js_math, three_js_core, and a three_js_(loder type).
late ArcballControls controls;
void initControls() {
controls = ArcballControls(camera, _globalKey, scene, 1);
controls.addEventListener('change', (event) {
render();
});
}
void update() {
controls.update();
}
copied to clipboard
Usage #
This project is a simple camera controller for three_js.
Example #
Find the example for this API here.
Contributing #
Contributions are welcome.
In case of any problems look at existing issues, if you cannot find anything related to your problem then open an issue.
Create an issue before opening a pull request for non trivial fixes.
In case of trivial fixes open a pull request directly.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.