docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method MapUvOnCylinder

    MapUvOnCylinder(OccurrenceList, Cylinder, int, bool)

    Generate texture coordinates using the projection on a cylinder

    Declaration
    public void MapUvOnCylinder(OccurrenceList occurrences, Cylinder cylinder, int channel = 0, bool overrideExistingUVs = true)
    Parameters
    Type Name Description
    OccurrenceList occurrences

    Occurrences of part to process

    Cylinder cylinder

    Cylinder definition

    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 © 2024 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)