2020-04-20 15:27:12 +02:00
|
|
|
/*
|
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
|
*
|
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
|
* along with this program; if not, write to the Free Software Foundation,
|
|
|
|
|
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
2021-09-24 14:03:42 -05:00
|
|
|
void register_node_type_fn_legacy_random_float(void);
|
|
|
|
|
|
2021-10-09 14:40:37 -05:00
|
|
|
void register_node_type_fn_align_euler_to_vector(void);
|
2020-04-20 15:27:12 +02:00
|
|
|
void register_node_type_fn_boolean_math(void);
|
Geometry Nodes: Generalized Compare Node
Replace compare floats node with a generalized compare node. The node
allows for the comparison of float, int, string, color, and vector.
The datatypes support the following operators:
Float, Int: <, >, <=, >=, ==, !=
String: ==, !=
Color: ==, !=, lighter, darker
(using rgb_to_grayscale value as the brightness value)
Vector Supports 5 comparison modes for: ==, !=, <, >, <=, >=
Average: The average of the components of the vectors are compared.
Dot Product: The dot product of the vectors are compared.
Direction: The angle between the vectors is compared to an angle
Element-wise: The individual components of the vectors are compared.
Length: The lengths of the vectors are compared.
Differential Revision: https://developer.blender.org/D13228
2021-12-01 09:36:25 -06:00
|
|
|
void register_node_type_fn_compare(void);
|
2021-07-05 11:52:10 -05:00
|
|
|
void register_node_type_fn_float_to_int(void);
|
2021-10-22 14:59:15 +02:00
|
|
|
void register_node_type_fn_input_bool(void);
|
2021-10-22 15:27:10 +02:00
|
|
|
void register_node_type_fn_input_color(void);
|
2021-10-22 14:59:15 +02:00
|
|
|
void register_node_type_fn_input_int(void);
|
2021-09-24 10:59:52 -05:00
|
|
|
void register_node_type_fn_input_special_characters(void);
|
2021-02-19 16:03:14 -06:00
|
|
|
void register_node_type_fn_input_string(void);
|
2021-02-07 17:21:21 -06:00
|
|
|
void register_node_type_fn_input_vector(void);
|
2021-09-24 14:03:42 -05:00
|
|
|
void register_node_type_fn_random_value(void);
|
2021-10-19 15:27:47 -05:00
|
|
|
void register_node_type_fn_replace_string(void);
|
2021-10-02 20:04:45 -05:00
|
|
|
void register_node_type_fn_rotate_euler(void);
|
2021-10-24 11:19:10 +02:00
|
|
|
void register_node_type_fn_slice_string(void);
|
2021-09-21 14:11:32 -05:00
|
|
|
void register_node_type_fn_string_length(void);
|
|
|
|
|
void register_node_type_fn_value_to_string(void);
|
2020-04-20 15:27:12 +02:00
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|