“addons/stag_toolkit/plugin/island_builder/island_builder.gd”

Inherits: EditorInspectorPlugin

There is currently no description for this class. Please help us by contributing one!

Properties

Variant

docker

load(...)

Control

panel

null

IslandBuilder

last_builder

null

bool

csg_linting

false

bool

allow_destructive

false

Dictionary

transforms

Array[Dictionary]

buttons

[...]

bool

realtime_queued

false

int

realtime_last_update

-1

bool

realtime_dirty

false

Methods

bool

_can_handle(object: Object)

void

_parse_begin(object: Object)

IslandBuilder

fetch_builder_ancestor(object: Node)

void

update_shapecount(builder: IslandBuilder)

void

update_volume(builder: IslandBuilder)

void

update_mass(builder: IslandBuilder)

void

update_hitpoints(builder: IslandBuilder)

void

do_serialize(builder: IslandBuilder)

void

do_mesh_preview(builder: IslandBuilder)

void

do_mesh_bake(builder: IslandBuilder)

void

do_collision(builder: IslandBuilder)

void

do_navigation(builder: IslandBuilder)

void

do_finalize(builder: IslandBuilder)

void

save_single(builder: IslandBuilder)

void

save_all()

void

destroy_single(node: IslandBuilder)

void

destroy_all()

void

bake_all()

void

remove_all()

void

save_island(builder: IslandBuilder, scan: bool = true)

Array[IslandBuilder]

fetch_all_builders(current: Node, builders: Array[IslandBuilder] = [])

void

toggle_allow_destructive(new_val: bool)

void

_csg_linter(new_state: bool)

Variant

lint_name(name: String, operation: int, suffix: String)

Variant

lint_material(operation: int)

void

lint_node(node: Node)

void

lint_node_recursive(node: Node)

void

thread_init()

void

thread_deinit()

void

_realtime_toggled(new_state: bool)

void

unbind_realtime(node: Node)

void

bind_realtime(node: Node, top_level: bool = false)

void

on_property_change(property: String)

void

on_child_added(new_child: Node)

void

on_child_removed(new_child: Node)

void

_check_transforms()

void

_check_transforms_internal(node: Node)

void

update_realtime_preview()


Constants

TWEAK_TIMER_THRESHOLD = 1000 🔗

After 1 second idle time, update preview

TWEAK_TIMEOUT_THRESHOLD = 10000 🔗

After 10 seconds, reset the queue

PRECOMPUTE_REQUIRED_BUTTONS = ["btn_mesh_preview", "btn_mesh_bake", "btn_collision", "btn_navigation"] 🔗

There is currently no description for this constant. Please help us by contributing one!

LINT_PREFIXES = ["UNION_", "INTERSECT_", "SUBTRACT_"] 🔗

There is currently no description for this constant. Please help us by contributing one!


Property Descriptions

Variant docker = load(...) 🔗

There is currently no description for this property. Please help us by contributing one!


Control panel = null 🔗

There is currently no description for this property. Please help us by contributing one!


IslandBuilder last_builder = null 🔗

There is currently no description for this property. Please help us by contributing one!


bool csg_linting = false 🔗

There is currently no description for this property. Please help us by contributing one!


bool allow_destructive = false 🔗

There is currently no description for this property. Please help us by contributing one!


Dictionary transforms 🔗

There is currently no description for this property. Please help us by contributing one!


Array[Dictionary] buttons = [...] 🔗

There is currently no description for this property. Please help us by contributing one!


bool realtime_queued = false 🔗

There is currently no description for this property. Please help us by contributing one!


int realtime_last_update = -1 🔗

There is currently no description for this property. Please help us by contributing one!


bool realtime_dirty = false 🔗

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

bool _can_handle(object: Object) 🔗

There is currently no description for this method. Please help us by contributing one!


void _parse_begin(object: Object) 🔗

There is currently no description for this method. Please help us by contributing one!


IslandBuilder fetch_builder_ancestor(object: Node) 🔗

There is currently no description for this method. Please help us by contributing one!


void update_shapecount(builder: IslandBuilder) 🔗

There is currently no description for this method. Please help us by contributing one!


void update_volume(builder: IslandBuilder) 🔗

There is currently no description for this method. Please help us by contributing one!


void update_mass(builder: IslandBuilder) 🔗

There is currently no description for this method. Please help us by contributing one!


void update_hitpoints(builder: IslandBuilder) 🔗

There is currently no description for this method. Please help us by contributing one!


void do_serialize(builder: IslandBuilder) 🔗

There is currently no description for this method. Please help us by contributing one!


void do_mesh_preview(builder: IslandBuilder) 🔗

There is currently no description for this method. Please help us by contributing one!


void do_mesh_bake(builder: IslandBuilder) 🔗

There is currently no description for this method. Please help us by contributing one!


void do_collision(builder: IslandBuilder) 🔗

There is currently no description for this method. Please help us by contributing one!


void do_navigation(builder: IslandBuilder) 🔗

There is currently no description for this method. Please help us by contributing one!


void do_finalize(builder: IslandBuilder) 🔗

There is currently no description for this method. Please help us by contributing one!


void save_single(builder: IslandBuilder) 🔗

There is currently no description for this method. Please help us by contributing one!


void save_all() 🔗

There is currently no description for this method. Please help us by contributing one!


void destroy_single(node: IslandBuilder) 🔗

There is currently no description for this method. Please help us by contributing one!


void destroy_all() 🔗

There is currently no description for this method. Please help us by contributing one!


void bake_all() 🔗

There is currently no description for this method. Please help us by contributing one!


void remove_all() 🔗

There is currently no description for this method. Please help us by contributing one!


void save_island(builder: IslandBuilder, scan: bool = true) 🔗

There is currently no description for this method. Please help us by contributing one!


Array[IslandBuilder] fetch_all_builders(current: Node, builders: Array[IslandBuilder] = []) 🔗

Fetches all IslandBuilder nodes under the given node, inclusive


void toggle_allow_destructive(new_val: bool) 🔗

There is currently no description for this method. Please help us by contributing one!


void _csg_linter(new_state: bool) 🔗

There is currently no description for this method. Please help us by contributing one!


Variant lint_name(name: String, operation: int, suffix: String) 🔗

Lints the given string with the according suffix


Variant lint_material(operation: int) 🔗

Returns a material to represent the given CSG operation


void lint_node(node: Node) 🔗

Performs CSG linting on the given node for better readability


void lint_node_recursive(node: Node) 🔗

There is currently no description for this method. Please help us by contributing one!


void thread_init() 🔗

Initializes the realtime thread


void thread_deinit() 🔗

Deinitializes the realtime thread


void _realtime_toggled(new_state: bool) 🔗

There is currently no description for this method. Please help us by contributing one!


void unbind_realtime(node: Node) 🔗

Unbind tree and property updates from mesh generation


void bind_realtime(node: Node, top_level: bool = false) 🔗

Bind tree and property updates to mesh regeneration


void on_property_change(property: String) 🔗

There is currently no description for this method. Please help us by contributing one!


void on_child_added(new_child: Node) 🔗

There is currently no description for this method. Please help us by contributing one!


void on_child_removed(new_child: Node) 🔗

There is currently no description for this method. Please help us by contributing one!


void _check_transforms() 🔗

There is currently no description for this method. Please help us by contributing one!


void _check_transforms_internal(node: Node) 🔗

There is currently no description for this method. Please help us by contributing one!


void update_realtime_preview() 🔗

Called if the IslandBuilder tree changed somehow