unreal.ScriptableToolQuad

class unreal.ScriptableToolQuad(outer: Object | None = None, name: Name | str = 'None')

Bases: Object

Scriptable Tool Quad

C++ Source:

  • Plugin: ScriptableToolsFramework

  • Module: ScriptableToolsFramework

  • File: ScriptableToolTriangle.h

set_quad_colors(a, b, c, d) None

Set the vertex colors of the quad

Parameters:
  • a (Color) – The vertex color of the first corner of the quad

  • b (Color) – The vertex color of the second corner of the quad

  • c (Color) – The vertex color of the third corner of the quad

  • d (Color) – The vertex color of the fourth corner of the quad

set_quad_material(material) None

Set the material of the quad

Parameters:

material (MaterialInterface) – The new material that should be assigned to the quad

set_quad_normals(a, b, c, d) None

Set the normal values of the quad

Parameters:
  • a (Vector) – The normal of the first corner of the quad

  • b (Vector) – The normal of the second corner of the quad

  • c (Vector) – The normal of the third corner of the quad

  • d (Vector) – The normal of the fourth corner of the quad

set_quad_points(a, b, c, d) None

Set the points of the quad

Parameters:
  • a (Vector) – The position of the first corner of the quad

  • b (Vector) – The position of the second corner of the quad

  • c (Vector) – The position of the third corner of the quad

  • d (Vector) – The position of the fourth corner of the quad

set_quad_u_vs(a, b, c, d) None

Set the UV coordinates of the quad

Parameters:
  • a (Vector2D) – The UV coordinate of the first corner of the quad

  • b (Vector2D) – The UV coordinate of the second corner of the quad

  • c (Vector2D) – The UV coordinate of the third corner of the quad

  • d (Vector2D) – The UV coordinate of the fourth corner of the quad