Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


VectorImage

An asset that represents a vector image.
Read time 4 minutesLast updated 2 days ago

Definition

[HelpURL("ui-systems/work-with-vector-graphics")]public sealed class VectorImage : ScriptableObject, ISerializationCallbackReceiver

Remarks

VectorImage is an opaque type. You can't use it to author vector images. To author vector images, use the Painter2D or
Unity.VectorGraphics.Editor.SVGImporter
class.
For more information, refer to work with vector graphics.

Properties

Property

Description

heightThe height of the vector image.
widthThe width of the vector image.

Inheritance

Inherited Members

Operators

Operator

Description

operator ==Compares two object references to see if they refer to the same object.
boolDetermines whether the object exists.
operator !=Compares if two objects refer to a different object.