JavaScript API Reference
Reference pages for Wonderland Engine’s JavaScript API classes, namespaces and enums.
Custom Components
You can kick-start your component by creating it through the “Asset Browser”: right-click on free space in the files area.
Make sure to register your component with WL.registerComponent.
To make the component appear in the editor, add the script or folder to the list in “Project Settings”.
See also the JavaScript Quick Start Guide.
API
Font
Font API reference
Interfaces
Interfaces API reference
Material
Material API reference
Object3D
Object3D API reference
Scene
Scene API reference
TextComponent
TextComponent API reference
WL
WL API reference
WonderlandEngine
WonderlandEngine API reference
Animation
Animation API reference
AnimationComponent
AnimationComponent API reference
BitSet
BitSet API reference
BrokenComponent
BrokenComponent API reference
CollisionComponent
CollisionComponent API reference
Component
Component API reference
Emitter
Emitter API reference
GLTFExtensions
GLTFExtensions API reference
I18N
I18N API reference
InputComponent
InputComponent API reference
LightComponent
LightComponent API reference
Logger
Logger API reference
MaterialManager
MaterialManager API reference
math
math API reference
Mesh
Mesh API reference
MeshAttributeAccessor
MeshAttributeAccessor API reference
MeshComponent
MeshComponent API reference
MeshManager
MeshManager API reference
MorphTargets
MorphTargets API reference
Physics
Physics API reference
PhysXComponent
PhysXComponent API reference
Prefab
Prefab API reference
PrefabGLTF
PrefabGLTF API reference
RayHit
RayHit API reference
Resource
Resource API reference
ResourceManager
ResourceManager API reference
RetainEmitter
RetainEmitter API reference
SceneResource
SceneResource API reference
Skin
Skin API reference
Texture
Texture API reference
TextureManager
TextureManager API reference
ViewComponent
ViewComponent API reference
XR
XR API reference