Skip to content

Some out-of-the-box utility features based on the Oasis engine.

License

Notifications You must be signed in to change notification settings

gz65555/engine-toolkit

 
 

Repository files navigation

Engine Toolkit

npm-size npm-download codecov

Some out-of-the-box utility features based on the Oasis engine Script and Material, welcome to enjoy!

Features

  • 🛸  Controls - Some camera controllers
  • 🫧  FrameBufferPicker - Pixel-based object picking
  • 📊  Stats - Statistics rendering data
  • 🖇  Auxiliary Lines - Draw wireframe for entity and component
  • 🗳  Planar Shadow Material - Two-pass shadow on the planar
  • 🧍🏼  Skeleton Helper - Skeleton visualization
  • ➡️  Gizmo - Operation tools for transforming (displacement, rotation, scaling)
  • ⭕️  Outline - Show outline of mesh renderers
  • 📐  Lines - 2D Solid Line & Dash Line

npm

The toolkit is published on npm with full typing support. To install, use:

npm install oasis-engine-toolkit

This will allow you to import toolkit entirely using:

import * as TOOLKIT from "oasis-engine-toolkit";

or individual classes using:

import { OrbitControl, FramebufferPicker, Stats } from "oasis-engine-toolkit";

Contributing

Everyone is welcome to join us! Whether you find a bug, have a great feature request or you fancy owning a task from the road map feel free to get in touch.

Make sure to read the Contributing Guide / 贡献指南 before submitting changes.

Build

If you don't already have Node.js and NPM, go install them. Then, in the folder where you have cloned the repository, install the build dependencies using npm:

npm run bootstrap

Then, to build the source, using npm:

npm run b:all

Links

License

The engine is released under the MIT license. See LICENSE file.

About

Some out-of-the-box utility features based on the Oasis engine.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 81.8%
  • C 10.9%
  • JavaScript 6.0%
  • GLSL 1.2%
  • Shell 0.1%