ドキュメント

Unity Engine

Unity Engine

Pow(float, float)

Returns f raised to power p.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static float Pow(float f, float p)

Parameters

Returns

Type

Description

float

Examples

using UnityEngine;public class Example : MonoBehaviour{ void Start() { print(Mathf.Pow(6, 1.8f)); }}