@tool YggdrasilBaseService API
Base service, inherited by services in YggdrasilTreeView.
Properties
| Type | Name | Default |
|---|---|---|
| YggdrasilTreeView | _tree_view | null |
| YggdrasilTree | _tree_data | null |
| PackedScene | _scene | null |
Methods
| Type | Name |
|---|---|
| void | set_scene(scene: PackedScene) |
| void | _position(object: Control, position: Vector2) |
Property Descriptions
YggdrasilTreeView _tree_view = null
TODO
YggdrasilTree _tree_data = null
TODO
PackedScene _scene = null
TODO
Method Descriptions
void set_scene(scene: PackedScene)
Assigns the scene resource used by this service.
void _position(object: Control, position: Vector2)
Positions
objectaround the given tree-spacepositionby centering it on that point and offsetting it relative to the tree size.