|
Blender V5.3
|
Classes | |
| class | AlignRotationToVectorFunction |
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static void | node_layout (ui::Layout &layout, bContext *, PointerRNA *ptr) |
| static void | node_init (bNodeTree *, bNode *node) |
| static void | align_rotations_auto_pivot (const IndexMask &mask, const VArray< math::Quaternion > &input_rotations, const VArray< float3 > &vectors, const VArray< float > &factors, const float3 local_main_axis, MutableSpan< math::Quaternion > output_rotations) |
| static void | align_rotations_fixed_pivot (const IndexMask &mask, const VArray< math::Quaternion > &input_rotations, const VArray< float3 > &vectors, const VArray< float > &factors, const float3 local_main_axis, const float3 local_pivot_axis, MutableSpan< math::Quaternion > output_rotations) |
| static void | node_build_multi_function (NodeMultiFunctionBuilder &builder) |
| static int | node_gpu_material (GPUMaterial *mat, bNode *node, bNodeExecData *, GPUNodeStack *in, GPUNodeStack *out) |
| static void | node_rna (StructRNA *srna) |
| static void | node_register () |
|
static |
Definition at line 49 of file node_fn_align_rotation_to_vector.cc.
References align_rotations_auto_pivot(), angle(), blender::angle_normalized_v3v3(), blender::math::cross_high_precision(), blender::math::is_zero(), blender::math::normalize(), blender::math::to_quaternion(), and blender::math::transform_point().
Referenced by align_rotations_auto_pivot(), and blender::nodes::node_fn_align_rotation_to_vector_cc::AlignRotationToVectorFunction::call().
|
static |
Definition at line 85 of file node_fn_align_rotation_to_vector.cc.
References align_rotations_fixed_pivot(), angle(), blender::angle_signed_on_axis_v3v3_v3(), blender::math::is_zero(), M_PI, blender::math::normalize(), blender::math::to_quaternion(), and blender::math::transform_point().
Referenced by align_rotations_fixed_pivot(), and blender::nodes::node_fn_align_rotation_to_vector_cc::AlignRotationToVectorFunction::call().
|
static |
Definition at line 188 of file node_fn_align_rotation_to_vector.cc.
References blender::nodes::NodeMultiFunctionBuilder::construct_and_set_matching_fn(), blender::math::Axis::from_int(), blender::nodes::NodeMultiFunctionBuilder::node(), node, and node_build_multi_function().
Referenced by node_build_multi_function(), and node_register().
|
static |
Definition at line 20 of file node_fn_align_rotation_to_vector.cc.
References b, node_declare(), blender::PROP_FACTOR, blender::PROP_XYZ, and blender::nodes::decl::Float::subtype.
Referenced by node_declare(), and node_register().
|
static |
Definition at line 195 of file node_fn_align_rotation_to_vector.cc.
References blender::math::Axis::as_int(), blender::FN_NODE_ALIGN_EULER_TO_VECTOR_PIVOT_AXIS_AUTO, blender::math::Axis::from_int(), blender::GPU_constant(), blender::GPU_stack_link(), blender::gpu::shader::metadata::in, node, node_gpu_material(), and blender::gpu::shader::metadata::out.
Referenced by node_gpu_material(), and node_register().
|
static |
Definition at line 44 of file node_fn_align_rotation_to_vector.cc.
References node, node_init(), and blender::math::Axis::Z.
Referenced by node_init(), and node_register().
|
static |
Definition at line 36 of file node_fn_align_rotation_to_vector.cc.
References IFACE_, blender::ui::ITEM_R_EXPAND, node_layout(), blender::ui::Layout::prop(), UI_ITEM_NONE, blender::ui::Layout::use_property_decorate_set(), and blender::ui::Layout::use_property_split_set().
Referenced by node_layout(), and node_register().
|
static |
Definition at line 273 of file node_fn_align_rotation_to_vector.cc.
References blender::bke::bNodeType::build_multi_function, blender::bke::bNodeType::declare, blender::bke::bNodeType::draw_buttons, blender::bke::bNodeType::enum_name_legacy, blender::fn_cmp_node_type_base(), FN_NODE_ALIGN_ROTATION_TO_VECTOR, blender::bke::bNodeType::gpu_fn, blender::bke::bNodeType::initfunc, blender::bke::bNodeType::nclass, node_build_multi_function(), NODE_CLASS_CONVERTER, node_declare(), node_gpu_material(), node_init(), node_layout(), node_register(), blender::bke::node_register_type(), node_rna(), blender::bke::bNodeType::rna_ext, blender::ExtensionRNA::srna, blender::bke::bNodeType::ui_description, and blender::bke::bNodeType::ui_name.
Referenced by node_register().
|
static |
Definition at line 224 of file node_fn_align_rotation_to_vector.cc.
References blender::FN_NODE_ALIGN_EULER_TO_VECTOR_PIVOT_AXIS_AUTO, blender::FN_NODE_ALIGN_EULER_TO_VECTOR_PIVOT_AXIS_X, blender::FN_NODE_ALIGN_EULER_TO_VECTOR_PIVOT_AXIS_Y, blender::FN_NODE_ALIGN_EULER_TO_VECTOR_PIVOT_AXIS_Z, NOD_inline_enum_accessors, node_rna(), blender::nodes::RNA_def_node_enum(), blender::math::Axis::X, blender::math::Axis::Y, and blender::math::Axis::Z.
Referenced by node_register(), and node_rna().