- Light(
props: ObjectProps<Light> & RecursivePartial<Light> & {
color: { b: number; g: number; r: number };
intensity: number;
radius: number;
x: number;
y: number;
},
): ReactNode
| Promise<ReactNode> Parameters
- props: ObjectProps<Light> & RecursivePartial<Light> & {
color: { b: number; g: number; r: number };
intensity: number;
radius: number;
x: number;
y: number;
}
Returns ReactNode | Promise<ReactNode>
Properties
Optional
displayName
displayName?: string
Optional
propTypes
propTypes?: any
A Scene plugin that provides a Phaser.GameObjects.LightsManager for the Light2D pipeline.