26 #ifndef __GLTF_ANIMATOR_H__
27 #define __GLTF_ANIMATOR_H__
80 void animateNodeTransform(
85 void animateMorphTargetWeights(
96 bool using_global_key_times =
false;
99 bool time_dependent =
false;
103 struct TransformAnimationInfo
106 ChannelInfo<UT_Vector3F> translation;
107 ChannelInfo<UT_QuaternionF>
rotation;
108 ChannelInfo<UT_Vector3F>
scale;
111 struct GeoAnimationInfo
116 bool added_first_frame =
false;
117 bool using_global_sample_times =
true;
122 bool updateTransformInfo(
OBJ_Node *node);
123 bool updateTransformInfoFromMatrix(
OBJ_Node *node);
127 TransformAnimationInfo &info,
138 template <
int tuple_size,
typename T>
140 ChannelInfo<T> &info,
143 bool is_rotation =
false);
153 void addTransformChannels(
155 const TransformAnimationInfo &info,
178 #endif // __GLTF_ANIMATOR_H__
GT_API const UT_StringHolder time
GLsizei const GLchar *const * path
GA_API const UT_StringHolder scale
SIM_API const UT_StringHolder rotation
**Note that the tasks the is the thread number *for the or if it s being executed by a non pool thread(this *can happen in cases where the whole pool is occupied and the calling *thread contributes to running the work load).**Thread pool.Have fun
GLenum GLsizei GLsizei GLint * values