Class TextureFill | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class TextureFill

    Fills a shape with a texture.

    Inheritance
    System.Object
    TextureFill
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Unity.VectorGraphics
    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
    Implements
    IFill.Mode

    Opacity

    The opacity of the fill.

    Declaration
    public float Opacity { get; set; }
    Property Value
    Type Description
    System.Single
    Implements
    IFill.Opacity

    Texture

    The texture to fill the shape with.

    Declaration
    public Texture2D Texture { get; set; }
    Property Value
    Type Description
    Texture2D
    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