enum
Godot::ThreadSafety::Scope
Overview
Enforcement scope for hierarchy operations:
- TreeOnly: (Default) Only blocks operations if the target or child is attached to the active SceneTree (is_inside_tree? == true). Allows assembling detached orphan node graphs off-thread before sending to Main Thread.
- AllNodes: Strictly blocks hierarchy operations on ANY node off-thread.
Defined in:
libgodot/thread_safety.crEnum Members
-
TreeOnly =
0 -
AllNodes =
1
Instance Method Summary
-
#all_nodes?
Returns
trueif this enum value equalsAllNodes -
#tree_only?
Returns
trueif this enum value equalsTreeOnly