Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_node_types.h
| Show First 20 Lines • Show All 1,135 Lines • ▼ Show 20 Lines | typedef struct NodeGeometryRotatePoints { | ||||
| /* GeometryNodeAttributeInputMode */ | /* GeometryNodeAttributeInputMode */ | ||||
| uint8_t input_type_axis; | uint8_t input_type_axis; | ||||
| uint8_t input_type_angle; | uint8_t input_type_angle; | ||||
| uint8_t input_type_rotation; | uint8_t input_type_rotation; | ||||
| char _pad[3]; | char _pad[3]; | ||||
| } NodeGeometryRotatePoints; | } NodeGeometryRotatePoints; | ||||
| typedef struct NodeGeometryAlignRotationToVector { | |||||
| /* GeometryNodeAlignRotationToVectorAxis */ | |||||
| uint8_t axis; | |||||
| /* GeometryNodeAttributeInputMode */ | |||||
| uint8_t input_type_factor; | |||||
| uint8_t input_type_vector; | |||||
| char _pad[5]; | |||||
| } NodeGeometryAlignRotationToVector; | |||||
| /* script node mode */ | /* script node mode */ | ||||
| #define NODE_SCRIPT_INTERNAL 0 | #define NODE_SCRIPT_INTERNAL 0 | ||||
| #define NODE_SCRIPT_EXTERNAL 1 | #define NODE_SCRIPT_EXTERNAL 1 | ||||
| /* script node flag */ | /* script node flag */ | ||||
| #define NODE_SCRIPT_AUTO_UPDATE 1 | #define NODE_SCRIPT_AUTO_UPDATE 1 | ||||
| /* ies node mode */ | /* ies node mode */ | ||||
| ▲ Show 20 Lines • Show All 419 Lines • ▼ Show 20 Lines | typedef enum GeometryNodeRotatePointsType { | ||||
| GEO_NODE_ROTATE_POINTS_TYPE_AXIS_ANGLE = 1, | GEO_NODE_ROTATE_POINTS_TYPE_AXIS_ANGLE = 1, | ||||
| } GeometryNodeRotatePointsType; | } GeometryNodeRotatePointsType; | ||||
| typedef enum GeometryNodeRotatePointsSpace { | typedef enum GeometryNodeRotatePointsSpace { | ||||
| GEO_NODE_ROTATE_POINTS_SPACE_OBJECT = 0, | GEO_NODE_ROTATE_POINTS_SPACE_OBJECT = 0, | ||||
| GEO_NODE_ROTATE_POINTS_SPACE_POINT = 1, | GEO_NODE_ROTATE_POINTS_SPACE_POINT = 1, | ||||
| } GeometryNodeRotatePointsSpace; | } GeometryNodeRotatePointsSpace; | ||||
| typedef enum GeometryNodeAlignRotationToVectorAxis { | |||||
| GEO_NODE_ALIGN_ROTATION_TO_VECTOR_AXIS_X = 0, | |||||
| GEO_NODE_ALIGN_ROTATION_TO_VECTOR_AXIS_Y = 1, | |||||
| GEO_NODE_ALIGN_ROTATION_TO_VECTOR_AXIS_Z = 2, | |||||
| } GeometryNodeAlignRotationToVectorAxis; | |||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||