unreal.ScriptableToolTriangleSet¶
- class unreal.ScriptableToolTriangleSet(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
ObjectScriptable Tool Triangle Set
C++ Source:
Plugin: ScriptableToolsFramework
Module: ScriptableToolsFramework
File: ScriptableToolTriangleSet.h
- add_quad() ScriptableToolQuad¶
Create and return a new quad object. Quad objects are two paired triangles. Users should save a reference to this object for future updates or removal from the set.
- Returns:
The new quad object added to the set
- Return type:
- add_triangle() ScriptableToolTriangle¶
Create and return a new triangle object. Users should save a reference to this object for future updates or removal from the set.
- Returns:
The new triangle object added to the set
- Return type:
- remove_quad(quad) None¶
Remove a specific quad object from the set, removing it from the scene.
- Parameters:
quad (ScriptableToolQuad) – A reference to a quad to be removed from the set.
- remove_triangle(triangle) None¶
Remove a specific triangle object from the set, removing it from the scene.
- Parameters:
triangle (ScriptableToolTriangle) – A reference to a triangle to be removed from the set.
- set_all_triangles_color(color) None¶
Set the color of all triangles and quads in the set simultaneously .
- Parameters:
color (Color)
- set_all_triangles_material(material) None¶
Set the material of all triangles and quads in the set simultaneously .
- Parameters:
material (MaterialInterface)