docs.unity.cn
    Show / Hide Table of Contents

    Class TextureFill

    Fills a shape with a texture.

    Inheritance
    Object
    TextureFill
    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
    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
    Generated by DocFX
    on Wednesday, April 19, 2023
    Terms of use