Welcome to the PlayCanvas Engine API Reference. The PlayCanvas Engine is an open source framework
for building interactive 3D applications. It is written in JavaScript and is built on top of
standard browser APIs including WebGL, WebGPU, Web Audio and WebXR.
π§ Who Should Use This Manual?
This API reference is intended for developers who are building applications using:
The PlayCanvas Editor which supports the writing of
custom scripts based on the Engine API.
π Searching the API Reference
You can search the API Reference by clicking the π icon in the header. The / key is a shortcut
for opening the search dialog. Press Escape to close the search dialog.
πΊοΈ Navigating the API Reference
This top level page groups the API into a number of categories: Animation, Asset, Debug, Exporter,
Gizmo, Graphics, Input, Math, Other, Physics, Script, Sound, User Interface and XR.
There is also a full alphabetical index available on the left hand side of the page. However,
this list is extensive so here is a list of key classes that you can use as jumping on points
for exploring the API:
Scene - Represents the graphical scene managed by the application.
Entity - Represents objects in your app. The scene manages a hierarchy
of entities. Add capabilities to entities with Components.
ScriptComponent - A powerful component that allows you to write Scripts
that implement custom behavior for your entities.
AssetRegistry - Manages all the Assets (3D models, sounds, etc) in your app.
π Contributing to the API Reference
We want the API Reference to be as high quality as possible. If you spot any errors or omissions,
please raise an issue or open a pull request on the PlayCanvas Engine GitHub repository.
Welcome to the PlayCanvas Engine API Reference. The PlayCanvas Engine is an open source framework for building interactive 3D applications. It is written in JavaScript and is built on top of standard browser APIs including WebGL, WebGPU, Web Audio and WebXR.
π§ Who Should Use This Manual?
This API reference is intended for developers who are building applications using:
π Searching the API Reference
You can search the API Reference by clicking the π icon in the header. The
/
key is a shortcut for opening the search dialog. PressEscape
to close the search dialog.πΊοΈ Navigating the API Reference
This top level page groups the API into a number of categories: Animation, Asset, Debug, Exporter, Gizmo, Graphics, Input, Math, Other, Physics, Script, Sound, User Interface and XR.
There is also a full alphabetical index available on the left hand side of the page. However, this list is extensive so here is a list of key classes that you can use as jumping on points for exploring the API:
π Contributing to the API Reference
We want the API Reference to be as high quality as possible. If you spot any errors or omissions, please raise an issue or open a pull request on the PlayCanvas Engine GitHub repository.