Blender V4.3
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
9#pragma once
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
15struct Depsgraph;
16struct Object;
17struct Scene;
18struct bPoseChannel;
19
20struct IKPlugin {
21 void (*initialize_tree_func)(struct Depsgraph *depsgraph,
22 struct Scene *scene,
23 struct Object *ob,
24 float ctime);
25 void (*execute_tree_func)(struct Depsgraph *depsgraph,
26 struct Scene *scene,
27 struct Object *ob,
28 struct bPoseChannel *pchan,
29 float ctime);
30 void (*release_tree_func)(struct Scene *scene, struct Object *ob, float ctime);
31 void (*remove_armature_func)(struct bPose *pose);
32 void (*clear_cache)(struct bPose *pose);
33 void (*update_param)(struct bPose *pose);
34 void (*test_constraint)(struct Object *ob, struct bConstraint *cons);
35};
36
37typedef struct IKPlugin IKPlugin;
38
39#ifdef __cplusplus
40}
41#endif
const Depsgraph * 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)