Files
test2/source/blender/ikplugin/intern/ikplugin_api.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
1.1 KiB
C
Raw Normal View History

/* SPDX-FileCopyrightText: 2001-2002 NaN Holding BV. All rights reserved.
*
* SPDX-License-Identifier: GPL-2.0-or-later */
2002-10-12 11:37:38 +00:00
/** \file
* \ingroup ikplugin
2011-02-27 20:24:49 +00:00
*/
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
struct Depsgraph;
struct Object;
struct Scene;
struct bPoseChannel;
2002-10-12 11:37:38 +00:00
struct IKPlugin {
void (*initialize_tree_func)(struct Depsgraph *depsgraph,
struct Scene *scene,
struct Object *ob,
float ctime);
void (*execute_tree_func)(struct Depsgraph *depsgraph,
struct Scene *scene,
struct Object *ob,
struct bPoseChannel *pchan,
float ctime);
void (*release_tree_func)(struct Scene *scene, struct Object *ob, float ctime);
void (*remove_armature_func)(struct bPose *pose);
void (*clear_cache)(struct bPose *pose);
void (*update_param)(struct bPose *pose);
void (*test_constraint)(struct Object *ob, struct bConstraint *cons);
};
2002-10-12 11:37:38 +00:00
typedef struct IKPlugin IKPlugin;
#ifdef __cplusplus
2002-10-12 11:37:38 +00:00
}
#endif