Manages Lights for a Scene.
Affects the rendering of Game Objects using the Light2D pipeline.
Optional
Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.
Legacy React Docs
const MyComponent: FC = () => { return <div>Hello!</div>}MyComponent.displayName = 'MyAwesomeComponent' Copy
const MyComponent: FC = () => { return <div>Hello!</div>}MyComponent.displayName = 'MyAwesomeComponent'
Ignored by React.
Only kept in types for backwards compatibility. Will be removed in a future major release.
Manages Lights for a Scene.
Affects the rendering of Game Objects using the Light2D pipeline.