docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method MapUvOnFittingCylinder

    MapUvOnFittingCylinder(OccurrenceList, int, bool, bool)

    Generate texture coordinates using the projection on a fitting cylinder

    Declaration
    public void MapUvOnFittingCylinder(OccurrenceList occurrences, int channel = 0, bool overrideExistingUVs = true, bool useAABB = true)
    Parameters
    Type Name Description
    OccurrenceList occurrences

    Occurrences of part to process

    int channel

    The UV channel which will contains the texture coordinates

    bool overrideExistingUVs

    If True, override existing UVs on channel

    bool useAABB

    If true use for the fitting the global Axis Aligned Bounding Box (AABB), else use a Minimum Bounding Box (MBB only based on transformed AABB of occurrences)

    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)