Preparing search index...
The search index is not available
Excalibur.js Edge API Documentation
Excalibur.js Edge API Documentation
toRadians
Function toRadians
to
Radians
(
degrees
:
number
)
:
number
Convert degrees to radians
Parameters
degrees:
number
Returns
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Modules
Excalibur.js
Edge API
Documentation
Events
Input
Side
Util
Draw
Util
webgl
Pointer
Component
Pointer
System
Animation
Direction
Animation
Strategy
Axis
Base
Align
Broadphase
Strategy
Collision
Resolution
Strategy
Collision
Type
Color
Blindness
Mode
Coord
Plane
Degree
Of
Freedom
Direction
Display
Mode
Emitter
Type
Event
Types
Font
Style
Font
Unit
Image
Filtering
Integrator
Log
Level
Matrix
Locations
Particle
Transform
Rotation
Type
Scroll
Prevention
Mode
Side
System
Type
Text
Align
Action
Context
Action
Queue
Action
Sequence
Actions
Component
Actions
System
Activate
Event
Actor
Added
Component
Added
Entity
Affine
Matrix
Animation
Arcade
Solver
Audio
Context
Factory
Blink
Body
Component
Bounding
Box
Browser
Component
Browser
Events
Camera
Canvas
Circle
Circle
Collider
Class
Clock
Collider
Collider
Component
Collision
Contact
Collision
End
Event
Collision
Group
Collision
Group
Manager
Collision
Post
Solve
Event
Collision
Pre
Solve
Event
Collision
Start
Event
Collision
System
Color
Color
Blind
Flags
Color
Blindness
Post
Processor
Component
Composite
Collider
Console
Appender
Contact
Constraint
Point
Contact
End
Event
Contact
Start
Event
Deactivate
Event
Debug
Debug
Graphics
Component
Debug
System
Debug
Text
Delay
Detector
Die
Dynamic
Tree
Dynamic
Tree
Collision
Processor
Ease
By
Ease
To
Easing
Functions
Edge
Collider
Elastic
To
Actor
Strategy
Engine
Enter
Trigger
Event
Enter
View
Port
Event
Entity
Entity
Manager
Event
Dispatcher
Ex
Response
Excalibur
Graphics
Context2DCanvas
Excalibur
Graphics
Context
WebGL
Excalibur
WebGLContext
Accessor
Exit
Trigger
Event
Exit
View
Port
Event
Fade
Flags
Follow
Font
Font
Cache
Fps
Sampler
Frame
Stats
Future
Game
Event
Game
Start
Event
Game
Stop
Event
Gamepad
Axis
Event
Gamepad
Button
Event
Gamepad
Connect
Event
Gamepad
Disconnect
Event
Gif
Global
Coordinates
Graphic
Graphics
Component
Graphics
Group
Graphics
Layer
Graphics
Layers
Graphics
System
Hidden
Event
Image
Source
Initialize
Event
Isometric
Entity
Component
Isometric
Entity
System
Isometric
Map
Isometric
Tile
Kill
Event
Label
Limit
Camera
Bounds
Strategy
Line
Line
Segment
Loader
Lock
Camera
To
Actor
Axis
Strategy
Lock
Camera
To
Actor
Strategy
Logger
Matrix
Media
Event
Meet
Motion
Component
Motion
System
Move
By
Move
To
Native
Sound
Event
Native
Sound
Processed
Event
Observable
Offscreen
System
Pair
Parallax
Component
Parallel
Actions
Parse
Gif
Particle
Particle
Emitter
Physics
Physics
Stats
Physics
World
Polygon
Polygon
Collider
Pool
Post
Collision
Event
Post
Debug
Draw
Event
Post
Draw
Event
Post
Frame
Event
Post
Kill
Event
Post
Update
Event
Pre
Collision
Event
Pre
Debug
Draw
Event
Pre
Draw
Event
Pre
Frame
Event
Pre
Kill
Event
Pre
Update
Event
Projection
Quad
Index
Buffer
Query
Query
Manager
Radius
Around
Actor
Strategy
Random
Raster
Ray
Realistic
Solver
Rectangle
Removed
Component
Removed
Entity
Repeat
Repeat
Forever
Resolution
Resource
Rotate
By
Rotate
To
Scale
By
Scale
To
Scene
Screen
Screen
Appender
Screen
Element
Screen
Shader
Semaphore
Shader
Shape
Sound
Sprite
Sprite
Font
Sprite
Sheet
Standard
Clock
State
Machine
Strategy
Container
Stream
System
System
Manager
Tag
Component
Test
Clock
Text
Texture
Loader
Tile
Tile
Map
Timer
Toaster
Transform
Transform
Component
Tree
Node
Trigger
Vector
Vector
View
Vertex
Buffer
Vertex
Layout
Visible
Event
Web
Audio
Web
Audio
Instance
World
Action
Action
Context
Methods
Actionable
Actor
Args
Animation
Options
Appender
Audio
Audio
Implementation
Body
Component
Options
Bounding
Box
Options
Camera
Strategy
Can
Activate
Can
Be
Killed
Can
Deactivate
Can
Draw
Can
Initialize
Can
Update
Canvas
Options
Circle
Collider
Options
Circle
Options
Clock
Options
Clonable
Collider
Proxy
Collision
Processor
Collision
Solver
Debug
Draw
Debug
Flags
Debug
Stats
Detected
Features
Easing
Function
Edge
Collider
Options
Engine
Options
Entity
Component
Eventable
Ex
Response
Types
Lookup
Excalibur
Graphics
Context
Excalibur
Graphics
Context
Options
Excalibur
Graphics
Context
State
Font
Options
Font
Renderer
Fps
Sampler
Options
Frame
Frame
Actor
Stats
Frame
Duration
Stats
Frame
Statistics
Gif
Frame
Graphic
Options
Graphics
Component
Options
Graphics
Grouping
Graphics
Grouping
Options
Graphics
Layer
Options
Graphics
Show
Options
Graphics
Statistics
Has
Tick
Isometric
Map
Options
Label
Options
Legacy
Web
Audio
Source
Line
Graphics
Options
Line
Options
Loadable
Message
Motion
Native
Eventable
Observer
Obsolete
Options
On
Initialize
On
Post
Draw
On
Post
Update
On
Pre
Draw
On
Pre
Update
Particle
Args
Particle
Emitter
Args
Physics
Statistics
Point
Graphics
Options
Pointer
Events
Polygon
Collider
Options
Polygon
Options
Post
Processor
Raster
Options
Ray
Cast
Hit
Ray
Cast
Options
Rect
Graphics
Options
Rectangle
Options
Scene
Activation
Context
Screen
Dimension
Screen
Options
Shader
Options
Sprite
Font
Options
Sprite
Options
Sprite
Sheet
Grid
Options
Sprite
Sheet
Options
Sprite
Sheet
Spacing
Dimensions
Sprite
Sheet
Sparse
Options
State
State
Machine
Description
State
Machine
State
System
Ctor
Test
Clock
Options
Text
Options
Tile
Map
Options
Tile
Options
Timer
Options
Trigger
Options
Uniform
Definition
Vector
View
Options
Vertex
Attribute
Definition
Vertex
Buffer
Options
Vertex
Layout
Options
WebGLGraphics
Context
Info
_initialize
_postupdate
_preupdate
Animation
Events
Component
Ctor
Component
String
Type
Component
Type
Constructor
Destination
Size
Ex
Response
Type
HTMLImage
Source
Id
Maybe
Observer
Possible
States
Source
View
System
Types
Uniform
Type
Names
activate
axis
button
cancel
collisionend
collisionstart
connect
deactivate
disconnect
down
enter
entertrigger
enterviewport
exittrigger
exitviewport
hidden
hold
initialize
kill
leave
move
pointercancel
pointerdown
pointerdragend
pointerdragenter
pointerdragleave
pointerdragmove
pointerdragstart
pointerenter
pointerleave
pointermove
pointerup
pointerwheel
postcollision
postdebugdraw
postdraw
postframe
postkill
postupdate
precollision
predebugdraw
predraw
preframe
prekill
press
preupdate
release
start
stop
subscribe
unsubscribe
up
visible
wheel
Closest
Line
Jump
Table
Collision
Jump
Table
EX_
VERSION
TwoPI
max
Messages
pixel
Snap
Epsilon
Closest
Line
Configurable
canonicalize
Angle
clamp
create
Id
frac
has
Graphics
Tick
has
On
Initialize
has
On
Post
Update
has
On
Pre
Update
has
Post
Draw
has
Pre
Draw
has_
initialize
has_
postupdate
has_
preupdate
is
Added
Component
is
Added
System
Entity
is
Remove
System
Entity
is
Removed
Component
is
Screen
Element
obsolete
random
In
Range
random
Int
In
Range
range
reset
Obsolete
Counter
sign
to
Degrees
to
Radians
vec
Convert degrees to radians