delete

public abstract void delete(NodePath nodePath)

Deletes the node under the given path.

Does nothing if the node does not exist.

Parameters

nodePath

the path to the node to delete