Navigation
API > API/Plugins > API/Plugins/ScriptableToolsFramework > API/Plugins/ScriptableToolsFramework/UScriptableToolLine
Description
Set the line's depth bias. The depth bias controls small micro adjustments in effective displacement towards or away from the camera, to prevent the line from causing clipping or z-fighting with other objects in the scene it's overlaid directly on top of.
| Name | SetLineDepthBias |
| Type | function |
| Header File | /Engine/Plugins/Runtime/ScriptableToolsFramework/Source/ScriptableToolsFramework/Public/Drawing/ScriptableToolLine.h |
| Include Path | #include "Drawing/ScriptableToolLine.h" |
| Source | /Engine/Plugins/Runtime/ScriptableToolsFramework/Source/ScriptableToolsFramework/Private/Drawing/ScriptableToolLine.cpp |
UFUNCTION (BlueprintCallable, Category="ScriptableTool|Drawing|Lines")
void SetLineDepthBias
(
float DepthBias
)
Parameters
| Name | Remarks |
|---|---|
| DepthBias | The depth bias adjustment for the line |