s&
newspaper
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
rocket
Discover Games
business_center
Workshop
sports_esports
Games
landscape
Maps
chair
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
docs
Docs
docs
Documentation
dashboard
Api Reference
school
Tutorials
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
ISceneEditorSession
chevron_left
API Reference
interface
ISceneEditorSession
search
Properties
data_object
HasUnsavedChanges
data_object
Scene
data_object
SelectedGameObject
data_object
Selection
data_object
TransientFilesystem
Methods
remove_circle
AddSelectionUndo
functions
AddUndo
functions
FrameTo
functions
GetSceneFolder
remove_circle
GetSelection
remove_circle
OnEditLog
remove_circle
RecordChange
functions
Save
functions
UndoScope
ISceneEditorSession
interface
Sandbox.Scene
.
abstract
Sandbox.Engine
data_object
Properties
5
HasUnsavedChanges
bool
True if this scene has unsaved changes
Scene
Scene
The scene for this session
SelectedGameObject
GameObject
If we have any gameobjects selected, return the first one
Selection
SelectionSystem
Selection system for this session
TransientFilesystem
BaseFileSystem
Get the filesystem in which temporary files can be created. These files can be used (and shipped) by a package, but won't be stored in source control. This is usually used for files that are expected to be re-generated at runtime by the package itself.
functions
Methods
9
AddSelectionUndo
(
)
obsolete
You have changed the editor's selection, add a new undo entry
AddUndo
(
name
,
undo
,
redo
)
Add a new undo entry
FrameTo
(
box
)
GetSceneFolder
(
)
SceneFolder
Get the folder for this scene. This is a folder in which we can store assets that are referenced by this scene. Things like envmap textures, lightmaps, baked data, etc.
GetSelection
(
)
obsolete
IEnumerable`1
Gets the current selection from the editor
OnEditLog
(
name
,
source
)
obsolete
RecordChange
(
property
)
obsolete
Tell undo about this property change
Save
(
forceSaveAs
)
Save this scene to disk
UndoScope
(
name
)
ISceneUndoScope
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.