Navigation
API > API/Plugins > API/Plugins/ScriptableToolsFramework > API/Plugins/ScriptableToolsFramework/Drawing
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UScriptableToolTriangleSet
References
| Module | ScriptableToolsFramework |
| Header | /Engine/Plugins/Runtime/ScriptableToolsFramework/Source/ScriptableToolsFramework/Public/Drawing/ScriptableToolTriangleSet.h |
| Include | #include "Drawing/ScriptableToolTriangleSet.h" |
Syntax
UCLASS (BlueprintType)
class UScriptableToolTriangleSet : public UObject
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< TObjectPtr< UScriptableToolQuad > > | QuadComponents | ||
| TObjectPtr< UPreviewGeometry > | ToolDrawableGeometry | ||
| TArray< TObjectPtr< UScriptableToolTriangle > > | TriangleComponents | ||
| TObjectPtr< UTriangleSetComponent > | TriangleSet |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Initialize
(
TObjectPtr< UPreviewGeometry > PreviewGeometry |
||
| void | OnTick () |
||
| void | Remove all current triangles and quads in the set. | ||
| void | RemoveQuad
(
UScriptableToolQuad* Quad |
Remove a specific quad object from the set, removing it from the scene. | |
| void | RemoveTriangle
(
UScriptableToolTriangle* Triangle |
Remove a specific triangle object from the set, removing it from the scene. | |
| void | SetAllTrianglesColor
(
FColor Color |
Set the color of all triangles and quads in the set simultaneously . | |
| void | SetAllTrianglesMaterial
(
UMaterialInterface* Material |
Set the material of all triangles and quads in the set simultaneously . | |
UPARAM
(
DisplayName |
Create and return a new triangle object. | ||
UPARAM
(
DisplayName |
Create and return a new quad object. |