threeplay
Functions
Section titled “Functions”- chance
- choose
- clamp
- createEngine
- definePlugin
- deg2rad
- gameObjOf
- globalKeys
- installGlobals
- isGameObj
- joinControllers
- lerp
- lerpValue
- map
- rad2deg
- rand
- randi
- rgb
- self
- targetPos
- threeplay
- toColor
- toVec3
- vec2
- vec3
- wave
Classes
Section titled “Classes”Interfaces
Section titled “Interfaces”- AreaComp
- AreaOpts
- AssetsAPI
- AudioAPI
- AudioPlay
- BackendOpts
- BeepOpts
- BodyComp
- BodyOpts
- ButtonBinding
- CameraAPI
- CameraController
- CharacterComp
- CharacterOpts
- Collision
- ColorComp
- Comp
- Debug
- DebugAPI
- DebugOpts
- EngineCore
- EngineHooks
- EventController
- FirstPersonController
- FirstPersonOpts
- FollowComp
- FollowOpts
- GameObjRaw
- GameplayAPI
- GetOpts
- HealthComp
- Hooks
- HudAPI
- InputAPI
- InputDirOpts
- InputOpts
- LevelAPI
- LevelComp
- LevelOpts
- LifespanComp
- LightOpts
- MaterialOpts
- ModelComp
- ModelData
- ModelOpts
- MoveHandler
- OffscreenComp
- OffscreenOpts
- OpacityComp
- OrbitController
- OrbitOpts
- PhysicsAPI
- PhysicsBackend
- PhysicsOpts
- PlayAnimOpts
- PlayOpts
- Plugin
- PluginRegistry
- PosComp
- PrimitiveComp
- RaycastHit
- RaycastOpts
- RectOpts
- RenderAPI
- RendererBackend
- RenderOpts
- RotateComp
- ScaleComp
- ShapeComp
- ShapeOpts
- ShapesAPI
- StateComp
- TextComp
- TextOpts
- ThirdPersonController
- ThirdPersonOpts
- ThreeplayInit
- ThreeplayOpts
- TimerComp
- TimerController
- TopDownOpts
- TransformAPI
- UIRectComp
Type Aliases
Section titled “Type Aliases”- Anchor
- ColorLike
- CompLifecycleKey
- CompList
- Easing
- Engine
- FogOpts
- GameObj
- GamepadButton
- HookFn
- Key
- LevelObj
- MathAPI
- MergeComps
- MouseButton
- PluginLike
- PosTarget
- RendererKind
- SceneDef
- ShapeDesc
- Tag
- Tweenable
- Vec3Input
- Vec3Like
Variables
Section titled “Variables”- assetsPlugin
- audioPlugin
- cameraPlugin
- debugPlugin
- defaultPlugins
- easings
- gameplayPlugin
- hudPlugin
- inputPlugin
- levelPlugin
- mathAPI
- physicsPlugin
- renderPlugin
- shapesPlugin
- transformPlugin
References
Section titled “References”default
Section titled “default”Renames and re-exports threeplay