文档

Unity Engine

Unity Engine

VectorImage

An asset that represents a vector image.
阅读时间4 分钟最后更新于 1 个月前

Definition

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

Remarks

VectorImage is an opaque type. You can't use it to author vector images. To author vector images, use the Painter2D or 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.