docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method MovePivotPointToTargetedOccurrenceCenter

    MovePivotPointToTargetedOccurrenceCenter(OccurrenceList, uint, bool)

    Move the pivot point of each occurrence listed in the function input, to the center of the targeted occurrence Center (and of its children if the parameter is True)

    Declaration
    [HandleProcessCorruptedStateExceptions]
    public void MovePivotPointToTargetedOccurrenceCenter(OccurrenceList occurrences, uint target, bool applyToChildren)
    Parameters
    Type Name Description
    OccurrenceList occurrences

    The occurrence (or the root occurrence if recursively=True)

    uint target

    The target occurrence

    bool applyToChildren

    If True, all the pivot of the descending occurrences from occurrence will be affected

    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)