Skip to content

Search

Dokumentation

debug_draw

A wireframe over every triangle edge of the node's drawing, a dot on every vertex, and whether its surface draws at all, for any drawable in either…

Auf dieser Seite

render · 7 properties · Rendering

A wireframe over every triangle edge of the node's drawing, a dot on every vertex, and whether its surface draws at all, for any drawable in either dimension.

In a scene, debug_draw is the node key that applies it. A script reaches each property below as a field on node.debug_draw: reading one asks the running component, and assigning one leaves the rest alone. The whole table is node.debug_draw.get() and node.debug_draw.set(table).

Properties

property type default description
dot_color color [0,0,0,0] The dots' colour; an alpha of zero takes the node's own
dot_size float 0 Size of a dot drawn on every vertex; zero draws none. Not on WebGL2 At least 0.
dot_sizing enum world What dot_size counts: world scales with the view, screen is pixels One of world, screen.
draw_surface bool true Whether the surface draws; off leaves the wireframe and the dots alone
wireframe_color color [0,0,0,0] The wireframe's colour; an alpha of zero takes the node's own
wireframe_sizing enum world What wireframe_width counts: world scales with the view, screen is pixels One of world, screen.
wireframe_width float 0 Width of a line drawn along every triangle edge; zero draws none. Not on WebGL2 At least 0.