s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News published_with_changesChangesRelease-by-release changelog
Games
Browse Games Discover Games
gamejamslive now

Game Jam III

Ends Fri 25 Sep
ThemeOne More Round

The jam is running. Build something, or play the entries.

£50,000
prizepool
View the jam
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
inputLog in with Steam
Api
ISceneEditorSession
chevron_left API Reference
interface
ISceneEditorSession

Properties

data_objectHasUnsavedChangesdata_objectScenedata_objectSelectedGameObjectdata_objectSelectiondata_objectTransientFilesystem

Methods

remove_circleAddSelectionUndofunctionsAddUndofunctionsFrameTofunctionsGetSceneFolderremove_circleGetSelectionremove_circleOnEditLogremove_circleRecordChangefunctionsSavefunctionsUndoScope
ISceneEditorSession
interface Sandbox.Scene .
abstractSandbox.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 ()
obsoleteIEnumerable`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.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter