Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Mathf.Sin

Switch to Manual
public static function Sin(f: float): float;

Parameters

Description

Returns the sine of angle f in radians.

	print (Mathf.Sin(3));