galacean / engine-toolkit

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

Home Page:https://oasisengine.cn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Galacean Engine Toolkit

npm-size npm-download codecov

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

Features

  • ๐Ÿ“Š  Stats - Statistics rendering data

  • ๐Ÿ›ธ  Controls - Some camera controllers

  • ๐ŸŽฅ  Tween - Library for tween animation

  • ๐Ÿซง  FrameBufferPicker - Pixel-based object picking

  • โžก๏ธ  Gizmo - Operation tools for transforming (displacement, rotation, scaling)

  • ๐Ÿงญ  Navigation Gizmo - Three-view & visualized operation for camera control

  • ๐Ÿ›ฃ  Waypoint - control entity move along waypoint

  • ๐Ÿช  Dynamic Bone - use dynamic spring movement to enhance skeleton animation

  • ๐Ÿ“  Lines - 2D Solid Line & Dash Line

  • ๐Ÿ–‡  Auxiliary Lines - Draw wireframe for entity and component

  • ๐Ÿง๐Ÿผ  Skeleton Helper - Skeleton visualization

  • โญ•๏ธ  Outline - Show outline of mesh renderers

  • ๐Ÿ–ผ  Geometry Sketch - Convert geometry into texture && sketch normal and mesh wireframe

  • ๐Ÿ–ฑ  Input Logger - Outputs keyboard and pointer information in real time for developers

  • ๐Ÿ“ฆ  Draco - Support draco compressed mesh

npm

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

npm install @galacean/engine-toolkit

This will allow you to import toolkit entirely using:

import * as TOOLKIT from "@galacean/engine-toolkit";

or individual classes using:

import { OrbitControl, FramebufferPicker } from "@galacean/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

prerequisites:

  • Node.js v15.0.0+ and NPM (Install Node.js By official website)
  • PNPM (Install Pnpm globally by npm install -g pnpm)

First, you need to install the dependencies:

pnpm install

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 Galacean engine.

https://oasisengine.cn

License:MIT License


Languages

Language:TypeScript 79.0%Language:GLSL 14.3%Language:C 4.2%Language:JavaScript 2.4%Language:Shell 0.0%