Garry's Mod Wiki

DPropertySheet:SetFadeTime

  DPropertySheet:SetFadeTime( number time = 0.1 )

Description

Sets the amount of time (in seconds) it takes to fade between tabs.

Arguments

1 number time = 0.1
The amount of time it takes (in seconds) to fade between tabs.

Example

Sets the fade time to 0.5 seconds (500 milliseconds)

DPropertySheet.SetFadeTime(0.5)

Example

Sets the fade time to 2 seconds (2000 milliseconds)

DPropertySheet.SetFadeTime(2)