docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method MapUvOnCubicAABB

    MapUvOnCubicAABB(OccurrenceList, double, int, bool)

    Generate texture coordinates using the projection on object AABB, with same scale on each axis

    Declaration
    [HandleProcessCorruptedStateExceptions]
    public void MapUvOnCubicAABB(OccurrenceList occurrences, double uv3dSize, int channel = 0, bool overrideExistingUVs = true)
    Parameters
    Type Name Description
    OccurrenceList occurrences

    Part occurrences to process

    double uv3dSize

    3D size of the UV space [0-1]

    int channel

    The UV channel which will contains the texture coordinates

    bool overrideExistingUVs

    If True, override existing UVs on channel

    In This Article
    Back to top
    Copyright © 2025 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)