# Editor.ICompileContext

Services provided by the scene compiler while a job is running.

- Kind: interface
- Namespace: `Editor`
- Assembly: `Sandbox.Engine`
- Modifiers: abstract

## Properties

- [`CancellationToken`](/api/Editor.ICompileContext/CancellationToken): Signals that the compile has been cancelled.
- [`IsClean`](/api/Editor.ICompileContext/IsClean): True when the job must discard its cached outputs and rebuild from source.
- [`Progress`](/api/Editor.ICompileContext/Progress): Reports the current job's progress to the compile window.

## Methods

- [`AddOutput`](/api/Editor.ICompileContext/AddOutput): Registers a file after writing it when its name is determined during the compile. The path is relative to the scene data folder.
- [`Log`](/api/Editor.ICompileContext/Log): Writes a message to the compile log.
