Version: 2019.1 (switch to 2018.3 or 2017.4)
LanguageEnglish
  • C#

Mathf.Exp

public static float Exp(float power);

Description

Returns e raised to the specified power.

using UnityEngine;

public class Example : MonoBehaviour { void Start() { print(Mathf.Exp(6)); } }

Did you find this page useful? Please give it a rating: