Files
armorpaint/base/Sources/nodes/null_node.ts
T

16 lines
291 B
TypeScript
Raw Normal View History

2024-03-14 23:58:24 +01:00
type null_node_t = {
base?: logic_node_t;
};
2024-03-21 21:06:41 +01:00
function null_node_create(arg: any): null_node_t {
2024-03-14 23:58:24 +01:00
let n: null_node_t = {};
n.base = logic_node_create();
n.base.get = float_node_get;
return n;
}
2024-04-08 17:40:32 +02:00
function null_node_get(self: null_node_t, from: i32): logic_node_value_t {
2024-04-02 15:45:49 +02:00
return null;
2024-03-14 23:58:24 +01:00
}