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
EditorScene
chevron_left
Editor Classes
class
EditorScene
Static Properties
data_object
GizmoSettings
data_object
PlayMode
data_object
Selection
Static Methods
functions
Copy
functions
Cut
functions
Discard
functions
LoadFromResource
functions
NewScene
functions
Open
functions
OpenPrefab
functions
OpenScene
functions
Paste
functions
PasteAsChild
functions
PasteAt
functions
PasteSpecial
functions
PlaceBoundsOnSurface
functions
Play
functions
PlayMap
functions
RestoreState
functions
SaveAllSessions
functions
SaveSession
functions
SaveSessionAs
functions
SceneEditorTick
functions
SelectAll
functions
Stop
functions
TakeHighResScreenshot
functions
TogglePlay
functions
UpdatePrefabInstances
EditorScene
class
Editor
.
static
sealed
abstract
Sandbox.Tools
data_object
Static Properties
3
GizmoSettings
SceneSettings
PlayMode
bool
Should the game start in play mode when hitting play, instead of playing the active scene.
Selection
SelectionSystem
functions
Static Methods
25
Copy
(
)
Cut
(
)
Discard
(
)
LoadFromResource
(
resource
)
NewScene
(
)
Open
(
)
OpenPrefab
(
resource
)
Opens the given prefab file for editing, if it's not already open.
OpenScene
(
resource
)
Opens the given scene file for editing, if it's not already open.
Paste
(
)
PasteAsChild
(
)
PasteAt
(
tr
)
PasteSpecial
(
)
PlaceBoundsOnSurface
(
gos
,
position
,
normal
)
Play
(
session
)
PlayMap
(
asset
)
RestoreState
(
)
SaveAllSessions
(
)
SaveSession
(
)
SaveSessionAs
(
)
SceneEditorTick
(
)
Called once a frame to keep the game camera in sync with the main camera in the editor scene
SelectAll
(
)
Stop
(
)
TakeHighResScreenshot
(
width
,
height
)
Capture a high resolution screenshot using the active scene camera.
TogglePlay
(
)
Toggles play mode.
UpdatePrefabInstances
(
prefab
)
Update any/all instances of a prefab in any open sessions. Two passes are needed so that changes propagate through prefab dependency chains regardless of iteration order (e.g. PrefabA → PrefabC → PrefabB).
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.