/
VisualScriptComment.hx
55 lines (43 loc) · 1.22 KB
/
VisualScriptComment.hx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
// Automatically generated Godot externs: DO NOT EDIT
// MIT licensed, see LICENSE.md
package godot;
import cs.system.*;
/**
A Visual Script node used to display annotations in the script, so that code may be documented.
Comment nodes can be resized so they encompass a group of nodes.
**/
@:libType
@:csNative
@:native("Godot.VisualScriptComment")
@:autoBuild(godot.Godot.buildUserClass())
extern class VisualScriptComment extends godot.VisualScriptNode {
/**
The comment node's size (in pixels).
**/
@:native("Size")
public var size:godot.Vector2;
/**
The text inside the comment node.
**/
@:native("Description")
public var description:std.String;
/**
The comment node's title.
**/
@:native("Title")
public var title:std.String;
@:native("new")
public function new():Void;
@:native("SetTitle")
public function setTitle(title:std.String):Void;
@:native("GetTitle")
public function getTitle():std.String;
@:native("SetDescription")
public function setDescription(description:std.String):Void;
@:native("GetDescription")
public function getDescription():std.String;
@:native("SetSize")
public function setSize(size:godot.Vector2):Void;
@:native("GetSize")
public function getSize():godot.Vector2;
}