docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TextureFill

    Fills a shape with a texture.

    Inheritance
    object
    TextureFill
    Implements
    IFill
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.VectorGraphics
    Assembly: Unity.VectorGraphics.dll
    Syntax
    public class TextureFill : IFill

    Properties

    Addressing

    The adressing mode (wrap, clamp or mirror) of this fill.

    Declaration
    public AddressMode Addressing { get; set; }
    Property Value
    Type Description
    AddressMode

    Mode

    The filling method (non-zero or even-odd) of the fill.

    Declaration
    public FillMode Mode { get; set; }
    Property Value
    Type Description
    FillMode

    Opacity

    The opacity of the fill.

    Declaration
    public float Opacity { get; set; }
    Property Value
    Type Description
    float

    Texture

    The texture to fill the shape with.

    Declaration
    public Texture2D Texture { get; set; }
    Property Value
    Type Description
    Texture2D

    Implements

    IFill
    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)