docs.unity3d.com
    Show / Hide Table of Contents

    Spherical to Rectangular

    Menu Path : Operator > Math> Coordinates

    The Spherical to Rectangular Operator performs a 3D coordinate conversion between a spherical (theta/phi/distance) space to a rectangular XYZ space.

    Operator properties

    Input Type Description
    Theta float The input sphere theta angle (in degrees).
    Phi float The input sphere phi angle (in degrees).
    Distance float The input distance.
    Output Type Description
    coord Vector3 The output XYZ coordinate.
    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