Navigation
API > API/Plugins > API/Plugins/ScriptableToolsFramework > API/Plugins/ScriptableToolsFramework/Drawing > API/Plugins/ScriptableToolsFramework/Drawing/UScriptableToolLine
References
| Module | ScriptableToolsFramework |
| Header | /Engine/Plugins/Runtime/ScriptableToolsFramework/Source/ScriptableToolsFramework/Public/Drawing/ScriptableToolLine.h |
| Include | #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
)
Remarks
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.
Parameters
| Name | Description |
|---|---|
| DepthBias | The depth bias adjustment for the line |