Namespace Unity.VectorGraphics | Vector Graphics | 1.0.0-preview.34
docs.unity3d.com
    Show / Hide Table of Contents

    Namespace Unity.VectorGraphics

    Classes

    Filled

    Filled shape representation.

    GradientFill

    Fills a shape with a gradient.

    Path

    A path definition.

    PatternFill

    Fills a shape with a pattern.

    Rectangle

    Defines a rectangle shape, which may be rounded.

    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.

    SVGParser

    Reads an SVG document and builds a vector scene.

    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

    IDrawable

    The IDrawable interface is implemented by elements that displays something on screen.

    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.

    In This Article
    • Classes
    • Structs
    • Interfaces
    • Enums
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023