Rectangular to Polar | Visual Effect Graph | 10.2.2
docs.unity3d.com
    Show / Hide Table of Contents

    Rectangular to Polar

    Menu Path : Operator > Math > Coordinates

    The Rectangular to Polar Operator performs a 2D coordinate conversion between a rectangular XY space to a polar (theta/distance) space.

    Operator properties

    Input Type Description
    Coordinate Vector2 The Input 2D coordinate.
    Output Type Description
    theta float The output angle (in radians).
    distance float The output distance to the origin.
    In This Article
    • Operator properties
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023