-
Notifications
You must be signed in to change notification settings - Fork 0
/
fn_modifiers.cpp
61 lines (55 loc) · 1.52 KB
/
fn_modifiers.cpp
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
56
57
58
59
60
61
#include "fn_modifiers.h"
FNDomainScale::FNDomainScale() {
_node = _FastNoise::New<_FastNoise::DomainScale>();
}
void FNDomainScale::_bind_methods() {
ClassDB::bind_method(
D_METHOD("set_source", "gen"),
&FNDomainScale::set_source
);
ClassDB::bind_method(
D_METHOD("set_scale", "value"),
&FNDomainScale::set_scale
);
}
FNDomainOffset::FNDomainOffset() {
_node = _FastNoise::New<_FastNoise::DomainOffset>();
}
void FNDomainOffset::_bind_methods() {
ClassDB::bind_method(
D_METHOD("set_source", "gen"),
&FNDomainOffset::set_source
);
ClassDB::bind_method(
D_METHOD("set_x_offset_val", "value"),
&FNDomainOffset::set_x_offset_val
);
ClassDB::bind_method(
D_METHOD("set_y_offset_val", "value"),
&FNDomainOffset::set_y_offset_val
);
ClassDB::bind_method(
D_METHOD("set_z_offset_val", "value"),
&FNDomainOffset::set_z_offset_val
);
ClassDB::bind_method(
D_METHOD("set_w_offset_val", "value"),
&FNDomainOffset::set_w_offset_val
);
ClassDB::bind_method(
D_METHOD("set_x_offset", "gen"),
&FNDomainOffset::set_x_offset
);
ClassDB::bind_method(
D_METHOD("set_y_offset", "gen"),
&FNDomainOffset::set_y_offset
);
ClassDB::bind_method(
D_METHOD("set_z_offset", "gen"),
&FNDomainOffset::set_z_offset
);
ClassDB::bind_method(
D_METHOD("set_w_offset", "gen"),
&FNDomainOffset::set_w_offset
);
}