docs.unity.cn

Visual Effect Graph 13.0.0

    Show / Hide Table of Contents

    Pi (π)

    Menu Path : Operator > Math > Constants > Pi (π)

    The Pi (π) Operator returns the number Pi (π). This is the ratio of the circumference of a circle to its diameter.

    Operator properties

    Output Type Description
    π float The value of Pi. This is the same value as Mathf.PI.
    2π float The result of 2 * Pi.
    π/2 float The result of Pi / 2.
    π/3 float The result of Pi / 3.
    In This Article
    • Operator properties
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 27 September 2021