15 "Transforms points in view space to region space (\"clip space\" or \"normalized device "
18 "Transforms points from object space to view space using the viewport's location and "
21 .description(
"Whether the viewport is using orthographic projection");
32 params.set_output(
"Projection", data.viewport_winmat);
33 params.set_output(
"View", data.viewport_viewmat * self_object.object_to_world());
34 params.set_output(
"Is Orthographic", !data.viewport_is_perspective);
41 &ntype, GEO_NODE_TOOL_VIEWPORT_TRANSFORM,
"Viewport Transform",
NODE_CLASS_INPUT);
#define NOD_REGISTER_NODE(REGISTER_FUNC)
local_group_size(16, 16) .push_constant(Type b
void node_register_type(bNodeType *ntype)
void search_link_ops_for_tool_node(GatherLinkSearchOpParams ¶ms)
bool check_tool_context_and_error(GeoNodeExecParams ¶ms)
void geo_node_type_base(blender::bke::bNodeType *ntype, int type, const char *name, short nclass)
NodeGeometryExecFunction geometry_node_execute
NodeGatherSocketLinkOperationsFunction gather_link_search_ops
NodeDeclareFunction declare