# General

## Enable

Enables/disables the rendering of ALL outlines regardless of their source. When going from enabled to disabled, all enabled outline/distance field will be cleared.

## Asset Path

Set where in your project all of the render target assets that are used for the outputs get saved.

## Automatic Resize

When enabled, all render target assets will have their resolutions updated to reflect any changes in viewport resolution. This can be done manually by calling the blueprint function ....

{% hint style="info" %}
Only used for stencil based outlines.
{% endhint %}

## Max Stencil Outline Batch Size

This is used for the dynamic batching of outlines. Batches are done from 1 (no batches) up to a batch size of 8. Outlines are batched together based on common settings which are the following for simple outlines:

* Resolution
* Depth Occlusion
* Stencil Texture

And for distance field generation they are the above and the following:

* Max Pixel Distance
* Process Mask Size

Different batch sizes can impact performance differently so be sure to test on a range of hardware.

{% hint style="info" %}
Only used for stencil based outlines.
{% endhint %}

## Global Scale

Scales the resolution of all the outlines. Each outline has their own scale that applies after the global scale. Scaling down the resolution can improve the performance at a cost of quality.

{% hint style="info" %}
Only used for stencil based outlines.
{% endhint %}

## Depth Threshold

Sets the threshold for the scene depth occlusion. The depth for meshes with a custom stencil value applied can differ slightly from the scene depth, this value helps compensate for that.

{% hint style="info" %}
Only used for stencil based outlines.
{% endhint %}

## Output Stencil Occlusion To Render Target

Whether to output the stencil occlusion result to a render target asset. Useful if you want the data but not an outline.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sweenus987.gitbook.io/distance-field-outline/advanced/settings/general.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
