Version: Unity 6.3 Beta (6000.3)
LanguageEnglish
  • C#

SVGType

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

An enum describing how SVG files are imported.

Properties

Property Description
VectorSpriteThe SVG file will be imported as a tessellated sprite
TexturedSpriteThe SVG file will be imported as a textured sprite
Texture2DThe SVG file will be imported as a Texture2D
VectorImageThe SVG file will be imported as a UI Toolkit Vector Image asset
UISVGImageThe SVG file will be imported as a tessellated sprite, compatible with the UI canvas masking system