Tan(float)
Returns the tangent of angle f in radians.
Read time 1 minuteLast updated 8 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public static float Tan(float f)
Parameters
Returns
Type | Description |
|---|---|
| float |
Remarks
Examples
using UnityEngine;using System.Collections;public class ExampleClass : MonoBehaviour{ void Example() { print(Mathf.Tan(0.5F)); }}