docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetPivotOnly

    SetPivotOnly(uint, Matrix4)

    Set the pivot of an occurrence to the given transformation matrix, the geometry will not be moved (warning: do not confuse with property Transform which actually move the occurrence)

    Declaration
    public void SetPivotOnly(uint occurrence, Matrix4 pivot)
    Parameters
    Type Name Description
    uint occurrence

    The occurrence to move the pivot

    Matrix4 pivot

    The new transformation matrix for the occurrence (pivot)

    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)