Garry's Mod Wiki

Garry's Mod Wiki

  number math.ease.InSine( number fraction )

Description

Eases in using math.sin.

Arguments

1 number fraction
Fraction of the progress to ease, from 0 to 1

Returns

1 number
"Eased" Value, from 0 to 1

Example

Calculates the easing of three situations

print(math.ease.InSine(0.1)) print(math.ease.InSine(0.2)) print(math.ease.InSine(0.3))
Output: 0.01231... 0.04894... 0.10899...

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...