docs.unity3d.com
Search Results for

    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 © 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)