s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
published_with_changes
Changes
Release-by-release changelog
Games
Browse Games
Discover Games
gamejams
live now
Game Jam III
Ends
Fri 25 Sep
Theme
One More Round
The jam is running. Build something, or play the entries.
£
50,000
prizepool
View the jam
Workshop
Playable
sports_esports
Games
Standalone games and gamemodes
Assets
landscape
Maps
view_in_ar
Models
texture
Materials
apparel
Clothing
apps
Everything
Every asset type in one list
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
input
Log in with Steam
Api
Editor Classes
EditorShortcuts
chevron_left
Editor Classes
class
EditorShortcuts
Static Fields
crop_din
Entries
Static Properties
data_object
AllowShortcuts
data_object
PassShortcut
Static Methods
functions
GetDefaultKeys
functions
GetDisplayKeys
functions
GetKeys
functions
IsDown
functions
ReleaseAll
EditorShortcuts
class
Editor
.
static
sealed
abstract
Sandbox.Tools
crop_din
Static Fields
1
Entries
List`1
data_object
Static Properties
2
AllowShortcuts
bool
Disables shortcut invocations when set to false. Used when first-person controlling the scene view camera, since shortcuts overlap with the camera movement keys. This is automatically reset to true after a short delay.
PassShortcut
bool
Set this to true in a shortcut method to indicate the shortcut should not be consumed, allowing other shortcuts with the same key binding to be tried.
functions
Static Methods
5
GetDefaultKeys
(
identifier
)
string
Returns the default keybind for a given identifier
GetDisplayKeys
(
identifier
)
string
Returns the pretty key hint for a given identifier
GetKeys
(
identifier
)
string
Returns the keybind for a given identifier
IsDown
(
identifier
)
bool
Returns whether a given shortcut is currently being held down
ReleaseAll
(
)
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.