|
1 | 1 | /**
|
2 |
| - * This module provides the core functionality for the PlayCanvas Engine. It includes the main |
3 |
| - * classes and methods used to create and manage a PlayCanvas application. It provides APIs for |
4 |
| - * graphics, audio, input, physics, asset management, scripting and much more. It also includes an |
5 |
| - * application framework and entity-component system, making it easy to manage the lifetime of your |
6 |
| - * application. |
| 2 | + * Welcome to the PlayCanvas Engine API Reference. The PlayCanvas Engine is an open source framework |
| 3 | + * for building interactive 3D applications. It is written in JavaScript and is built on top of |
| 4 | + * standard browser APIs including WebGL, WebGPU, Web Audio and WebXR. |
| 5 | + * |
| 6 | + * ### 🧑 Who Should Use This Manual? |
| 7 | + * |
| 8 | + * This API reference is intended for developers who are building applications using: |
| 9 | + * |
| 10 | + * - The [PlayCanvas Engine](https://github.com/playcanvas/engine) directly. |
| 11 | + * - [PlayCanvas Web Components](https://github.com/playcanvas/web-components) or |
| 12 | + * [PlayCanvas React](https://github.com/playcanvas/react) which wrap the PlayCanvas Engine |
| 13 | + * with a declarative interface. |
| 14 | + * - The [PlayCanvas Editor](https://playcanvas.com/products/editor) which supports the writing of |
| 15 | + * custom scripts based on the Engine API. |
| 16 | + * |
| 17 | + * ### 🔍 Searching the API Reference |
| 18 | + * |
| 19 | + * You can search the API Reference by clicking the 🔍 icon in the header. The `/` key is a shortcut |
| 20 | + * for opening the search dialog. Press `Escape` to close the search dialog. |
| 21 | + * |
| 22 | + * ### 🗺️ Navigating the API Reference |
| 23 | + * |
| 24 | + * This top level page groups the API into a number of categories: Animation, Asset, Debug, Exporter, |
| 25 | + * Gizmo, Graphics, Input, Math, Other, Physics, Script, Sound, User Interface and XR. |
| 26 | + * |
| 27 | + * There is also a full alphabetical index available on the left hand side of the page. However, |
| 28 | + * this list is extensive so here is a list of key classes that you can use as jumping on points |
| 29 | + * for exploring the API: |
| 30 | + * |
| 31 | + * - {@link AppBase} - Represents your PlayCanvas application. |
| 32 | + * - {@link Scene} - Represents the graphical scene managed by the application. |
| 33 | + * - {@link Entity} - Represents objects in your app. The scene manages a hierarchy |
| 34 | + * of entities. Add capabilities to entities with {@link Component}s. |
| 35 | + * - {@link ScriptComponent} - A powerful component that allows you to write {@link Script}s |
| 36 | + * that implement custom behavior for your entities. |
| 37 | + * - {@link AssetRegistry} - Manages all the {@link Asset}s (3D models, sounds, etc) in your app. |
| 38 | + * |
| 39 | + * ### 🙌 Contributing to the API Reference |
| 40 | + * |
| 41 | + * We want the API Reference to be as high quality as possible. If you spot any errors or omissions, |
| 42 | + * please raise an issue or open a pull request on the [PlayCanvas Engine GitHub repository](https://github.com/playcanvas/engine). |
7 | 43 | *
|
8 | 44 | * @module Engine
|
9 | 45 | */
|
|
0 commit comments