Struct Image2DLoadFromFileMaskFile | Project Tiny | 0.31.0-preview.24
docs.unity.cn
    Show / Hide Table of Contents

    Struct Image2DLoadFromFileMaskFile

    An image to use as the mask. This can be a data URI.

    Namespace: Unity.Tiny
    Syntax
    public struct Image2DLoadFromFileMaskFile : IBufferElementData
    Remarks

    Incompatible with Image2DLoadFromFileGuids The red channel will be used as the mask (the alpha channel is ignored); efficient compression can be used (e.g. a single channel PNG or palleted PNG8). Tag with Image2DLoadFromFile to start a load

    Fields

    s

    Declaration
    public char s
    Field Value
    Type Description
    Char
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 06 November 2020