X position
Y position
Radius
Color
Alpha
Game instance
Scene instance
What the GameObject collides with
X position
Y position
Width of the bounds
Height of the bounds
The target velocity
The value to increase the velocity by
The value to decrease the velocity by
The Vector2 to add to the velocity by
PhysicsBody to detach
PhysicsBody to detach from
PhysicsBody to check their hitbox with
Scale Vector2, x is width, y is height
Fill color
Fill Color
Alpha
Scale of the gameobject, can be a number to change the radius
The type of the PhysicsBody, 'KinematicBody' | 'RigidBody' | 'StaticBody'
The axis to set the velocity of
The value to set the velocity axis as, in pixels per second
The value to set the velocity axis as, in pixels per second
The value to set the velocity.y as, in pixels per second
What to set the visible property to
Generated using TypeDoc
Creates a DuckEngine StaticLight
The StaticLight Class. A static light
1.0.0-beta