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

ViewportOptions

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 the viewport options to use when importing the SVG document.

Properties

Property Description
DontPreserveDon't preserve the viewport defined in the SVG document.
PreserveViewportPreserves the viewport defined in the SVG document.
OnlyApplyRootViewBoxApplies the root view-box defined in the SVG document (if any).