docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method DebugDrawTransform

    DebugDrawTransform(AffineTransform, float, float)

    Debug visualization for transforms, i.e. a position and rotation.

    Declaration
    public static void DebugDrawTransform(AffineTransform transform, float scale, float alpha = 1)
    Parameters
    Type Name Description
    AffineTransform transform

    The transforms that should be displayed.

    float scale

    A scale that determines the length of the rotation axis of the transform.

    float alpha

    An color alpha value that is to be used for the rotation axis display.

    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)