Blender V5.0
ikplugin_api.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2001-2002 NaN Holding BV. All rights reserved.
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
11struct Depsgraph;
12struct Object;
13struct Scene;
14struct bPoseChannel;
15
16struct IKPlugin {
17 void (*initialize_tree_func)(struct Depsgraph *depsgraph,
18 struct Scene *scene,
19 struct Object *ob,
20 float ctime);
21 void (*execute_tree_func)(struct Depsgraph *depsgraph,
22 struct Scene *scene,
23 struct Object *ob,
24 struct bPoseChannel *pchan,
25 float ctime);
26 void (*release_tree_func)(struct Scene *scene, struct Object *ob, float ctime);
27 void (*remove_armature_func)(struct bPose *pose);
28 void (*clear_cache)(struct bPose *pose);
29 void (*update_param)(struct bPose *pose);
30 void (*test_constraint)(struct Object *ob, struct bConstraint *cons);
31};
32
33using IKPlugin = struct IKPlugin;
BPy_StructRNA * depsgraph
void(* clear_cache)(struct bPose *pose)
void(* remove_armature_func)(struct bPose *pose)
void(* initialize_tree_func)(struct Depsgraph *depsgraph, struct Scene *scene, struct Object *ob, float ctime)
void(* release_tree_func)(struct Scene *scene, struct Object *ob, float ctime)
void(* update_param)(struct bPose *pose)
void(* execute_tree_func)(struct Depsgraph *depsgraph, struct Scene *scene, struct Object *ob, struct bPoseChannel *pchan, float ctime)
void(* test_constraint)(struct Object *ob, struct bConstraint *cons)