docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Namespace Unity.VectorGraphics

    Classes

    GradientFill

    Fills a shape with a gradient.

    PatternFill

    Fills a shape with a pattern.

    SVGImage

    A UI image that holds SVG content.

    SVGImageEditor

    Editor class used to edit UI Sprites.

    SVGParser

    Reads an SVG document and builds a vector scene.

    Scene

    A scene contains the whole node hierarchy.

    SceneNode

    A node inside a hierarchy.

    Shape

    A generic filled shape.

    SolidFill

    Fills a shape with a single color.

    Stroke

    Defines how strokes should be rendered.

    TextureFill

    Fills a shape with a texture.

    VectorUtils

    Provides various tools to work with vector graphics.

    VectorUtils.Geometry

    Holds the tessellated Scene geometry and associated data.

    VectorUtils.TextureAtlas

    A struct to hold packed atlas entries.

    Structs

    BezierContour

    A chain of bezier paths, optionnally closed.

    BezierPathSegment

    A bezier path segment.

    BezierSegment

    A bezier segment.

    GradientStop

    The gradient stops used for gradient fills.

    Matrix2D

    A 2x3 transformation matrix used for 2D operations.

    PathProperties

    Defines properties of paths.

    SVGParser.SceneInfo

    A structure containing the SVG scene data.

    VectorUtils.PackRectItem

    Struct to hold a texture atlas location.

    VectorUtils.SceneNodeWorldTransform

    Structure holding the SceneNode computed transforms, opacities and enumeration path.

    VectorUtils.TessellationOptions

    Structure to store the tessellation options.

    Interfaces

    IFill

    The IFill interface is implemented by filling techniques (solid, texture or gradient).

    Enums

    AddressMode

    The addressing mode, defining how textures or gradients behave when being addressed outside their unit range.

    FillMode

    The fill mode types.

    GradientFillType

    The gradient fill types.

    PathCorner

    The path corner types, for joining path segments together.

    PathEnding

    The path ending types.

    VectorUtils.Alignment

    The alignement of the sprite, to determine the location of the pivot.

    ViewportOptions

    An enum describing the viewport options to use when importing the SVG document.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)