s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News
jams
Workshop
Steam
open_in_newSteam Workshop
Assets
view_in_arModels textureMaterials apparelClothing
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
Get s&box
Sign in with Steam
Api
Classes
SceneCompileWork
chevron_left Classes
class
SceneCompileWork

Constructors

functionsSceneCompileWork

Properties

data_objectCleardata_objectGroupdata_objectOrderdata_objectOutputsdata_objectRundata_objectTitle

Methods

functions<Clone>$functionsDeconstruct
SceneCompileWork
An asynchronous operation offered in the scene compile window. Jobs with the same group share a checkbox.
class Editor .
sealedSandbox.Engine

build Constructors 1

SceneCompileWork (Group, Title, Run, Order)

data_object Properties 6

Clear
Action`1
Clears this job's baked state and registers its files for deletion. Call Sandbox.Scene.ISceneEditorSession.MarkBakeReferencesChanged when serialized bake references change.
Group
string
Display name for the group.
Order
int
Lower values run first, before the final runtime scene is written.
Outputs
IEnumerable`1
Files this job owns, relative to the scene data folder. The compiler counts existing files in the stage report and removes them when the stage is cleared.
Run
Func`2
Runs the job on the editor thread. Use null for a job that only has old outputs to clear.
Title
string
Name of this specific job, shown in the compile log and timings.

functions Methods 2

<Clone>$ ()
SceneCompileWork
Deconstruct (Group, Title, Run, Order)
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