docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Property depth

    depth

    This specifies the depth dimension of the native texture. For a 3D texture, depth is greater than zero. For any other kind of valid texture, depth is one.

    Declaration
    public int depth { get; }
    Property Value
    Type Description
    int

    The depth dimension of the native texture object.

    In This Article
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Friday, September 22, 2023