SVG Picture script interface

The ISVGPictureInstance interface derives from IWorldInstance to add APIs specific to the SVG Picture plugin.

SVG Picture APIs

svgUrl
Get the path to the SVG image to display in the object.
async setSvgUrl(url)
Set the path to the SVG image to display in the object. Note that updating the image is asynchronous, so this is an async method and can be awaited to ensure the image has been updated.
Construct 3 Manual 2024-02-15

On this page