docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ResetTransform

    ResetTransform(uint, bool, bool, bool)

    Set all transformation matrices to identity in a sub-tree.

    Declaration
    public void ResetTransform(uint root, bool recursive = true, bool keepInstantiation = true, bool keepPartTransform = false)
    Parameters
    Type Name Description
    uint root

    Root occurrence for the process

    bool recursive

    If False, transformation will be applied only on the root and its components

    bool keepInstantiation

    If False, all occurrences will be singularized

    bool keepPartTransform

    If False, transformation will be applied to the shapes (BRepShape points or TessellatedShape vertices)

    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)