docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method BakeVertexAttributes

    BakeVertexAttributes(OccurrenceList, OccurrenceList, bool, bool, bool)

    Bake vertex attributes on meshes from other meshes

    Declaration
    public void BakeVertexAttributes(OccurrenceList destinationOccurrences, OccurrenceList sourceOccurrences, bool skinnedMesh, bool positions, bool useCurrentPositionAsTPose = false)
    Parameters
    Type Name Description
    OccurrenceList destinationOccurrences

    Occurrences of the meshes where to store the baked vertex attributes

    OccurrenceList sourceOccurrences

    Occurrences of components from which to bake vertex attributes

    bool skinnedMesh

    Enabling skinned mesh baking (joint assignation for animation transfer)

    bool positions

    Enabling vertex position baking

    bool useCurrentPositionAsTPose

    Use the current position as the T-Pose

    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)