Toast Engine
Loading...
Searching...
No Matches
renderer::EditorOverlays Struct Reference
Collaboration diagram for renderer::EditorOverlays:

Public Attributes

bool surface_unit_grid = false
 1 m lines drawn on the voxel surface
bool surface_voxel_grid = false
 0.1m lines drawn on the voxel surface
bool voxel_edges = false
 Lines along the real edges of the voxels.
bool volume_edges = false
 Lines along the AABB volume for the voxels.
bool projections = false
 2D diedrico projections peak dibujo tecnico
toast::UID selected
 Focused node.
toast::UID cut_root
 The voxel the Split and Slice preview is on.
bool cut_active = false
glm::vec4 cut_plane {0.0f}
 red is where the normal points
bool tool_box_active = false
toast::UID tool_root
glm::ivec3 tool_box_min {0}
glm::ivec3 tool_box_max {0}
glm::vec4 tool_box_color {1.0f}
uint8_t tool_box_kind = 0
 0 fill, 1 carve, 2 paint, 3 outline only
toast::VoxelPiece * tool_piece = nullptr
 Draws the preview with the script new volumes get.
bool tool_box2_active = false
 A second outline, Extrude shows both parts of the face it is splitting.
glm::ivec3 tool_box2_min {0}
glm::ivec3 tool_box2_max {0}

The documentation for this struct was generated from the following file: