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
ICompileContext
chevron_left
API Reference
interface
ICompileContext
Properties
data_object
CancellationToken
data_object
IsClean
data_object
Progress
Methods
functions
AddOutput
functions
Log
ICompileContext
Services provided by the scene compiler while a job is running.
interface
Editor
.
abstract
Sandbox.Engine
data_object
Properties
3
CancellationToken
CancellationToken
Signals that the compile has been cancelled.
IsClean
bool
True when the job must discard its cached outputs and rebuild from source.
Progress
IProgressSection
Reports the current job's progress to the compile window.
functions
Methods
2
AddOutput
(
relativePath
)
Registers a file after writing it when its name is determined during the compile. The path is relative to the scene data folder.
Log
(
message
)
Writes a message to the compile log.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.