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
ICompileContext
chevron_left API Reference
interface
ICompileContext

Properties

data_objectCancellationTokendata_objectIsCleandata_objectProgress

Methods

functionsAddOutputfunctionsLog
ICompileContext
Services provided by the scene compiler while a job is running.
interface Editor .
abstractSandbox.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.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter