文档

Unity Engine

Unity Engine

Exp(float)

Returns e raised to the specified power.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static float Exp(float power)

Parameters

power

Returns

Type

Description

float

Examples

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