Instance Methodmigueldeicaza.swiftgodot 0.45.0SwiftGodot
addNode(_:)
Adds a node to the selection.
EditorSelection.swift:53final func addNode(_ node: Node?)
Other members in extension
Type members
Instance members
var selectionChanged: SimpleSignal
Emitted when the selection changes.
func clear(
) Clear the selection.
func getSelectedNodes(
) -> ObjectCollection<Node> Gets the list of selected nodes.
func getTransformableSelectedNodes(
) -> ObjectCollection<Node> Gets the list of selected nodes, optimized for transform operations (i.e. moving them, rotating, etc). This list avoids situations where a node is selected and also child/grandchild.
func removeNode(Node?
) Removes a node from the selection.