s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
jams
Workshop
Steam
open_in_new
Steam Workshop
Assets
view_in_ar
Models
texture
Materials
apparel
Clothing
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
Get s&box
Sign in with Steam
Api
Classes
SceneCompileWork
chevron_left
Classes
class
SceneCompileWork
Constructors
functions
SceneCompileWork
Properties
data_object
Clear
data_object
Group
data_object
Order
data_object
Outputs
data_object
Run
data_object
Title
Methods
functions
<Clone>$
functions
Deconstruct
SceneCompileWork
An asynchronous operation offered in the scene compile window. Jobs with the same group share a checkbox.
class
Editor
.
sealed
Sandbox.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.