Home
News
Learn
Download
Examples
Community
Plugins
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.GameObjects.Light
setRadius(radius)
Description:
Set the radius of the light.
Parameters:
name
type
description
radius
number
The radius of the light.
Returns:
Description:
This Light object.
Type:
Phaser.GameObjects.Light
Since:
3.0.0
Source:
src/gameobjects/lights/Light.js
(Line
155
)
Possible examples