ImageNode
Displays an image. Make sure the image is loaded or provide a src
.
Example
const img = engine.nodes.addImage({
x: 100,
y: 100,
width: 180,
height: 120,
src: '/logo.png',
});
Displays an image. Make sure the image is loaded or provide a src
.
const img = engine.nodes.addImage({
x: 100,
y: 100,
width: 180,
height: 120,
src: '/logo.png',
});