Renderables
SvgImage
An imported SVG file, drawn as one object.
Object type renderable pins
An SVG image is an existing SVG file drawn as a single object, at the file's own size and centred on its position. It's made by the SVG Image node.
Hierarchy
- Parents
Renderable- Subtypes
- None
Properties
| Name | Type | Notes |
|---|---|---|
| position | Point | from Renderable |
| rotation | number | from Renderable |
| scale | number | from Renderable |
| opacity | number | read-only from Renderable |
| blendMode | BlendMode | read-only from Renderable |
Nodes
Break SvgImage
Node id break/SvgImage
Inputs
| Name | Type | Default | Notes |
|---|---|---|---|
| object | SvgImage | — |
Outputs
Set SvgImage
Node id set/SvgImage
Inputs
Outputs
| Name | Type | Notes |
|---|---|---|
| object | SvgImage |
Notes
- Only the transform changes. Set SvgImage changes
position,rotationandscale, and Break SvgImage reads them. The drawing itself can't be edited or split into shapes. - No Make SvgImage. An SVG image needs a file, so it's only made by the SVG Image node.
- No outline. Path nodes such as Sample report an error for an SVG image; AABB and OOBB give its box.
- Not lerpable. There is no Lerp SvgImage.
Related types
- Renderable: an SVG image connects anywhere a renderable does.
- Group: the other object made only by its own node.