s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
jams
Workshop
Steam
open_in_new
Steam Workshop
Assets
view_in_ar
Models
texture
Materials
apparel
Clothing
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
Get s&box
Sign in with Steam
Api
Classes
GradientStopPopup
chevron_left
Classes
class
GradientStopPopup
Constructors
functions
GradientStopPopup
Methods
functions
OnButtonTyped
functions
Tick
Static Properties
data_object
DefaultPresets
GradientStopPopup
Panel popup for editing a gradient's color and opacity stops.
class
Sandbox.UI
.
account_tree
extends
Popup
sealed
Sandbox.Engine
build
Constructors
1
GradientStopPopup
(
property
,
presetCookies
)
Edits a gradient property and stores saved presets in the supplied cookies or the current game's cookies.
functions
Methods
2
OnButtonTyped
(
e
)
Escape dismisses the stop editor.
Tick
(
)
Update the popup after a change to its property elsewhere.
data_object
Static Properties
1
DefaultPresets
IReadOnlyList`1
Built-in gradients shown in the preset palette.
Inheritance
Panel
BasePopup
Popup
GradientStopPopup
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.