Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

Mathf.Exp

Switch to Manual

Declaration

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)); } }