26 #ifndef __GLTF_ANIMATOR_H__
27 #define __GLTF_ANIMATOR_H__
80 void animateNodeTransform(
87 void animateMorphTargetWeights(
98 bool using_global_key_times =
false;
101 bool time_dependent =
false;
105 struct TransformAnimationInfo
109 ChannelInfo<UT_Vector3F> translation;
110 ChannelInfo<UT_QuaternionF>
rotation;
111 ChannelInfo<UT_Vector3F>
scale;
114 struct GeoAnimationInfo
120 bool added_first_frame =
false;
121 bool using_global_sample_times =
true;
126 bool updateTransformInfo(
OBJ_Node *node);
127 bool updateTransformInfoFromMatrix(
OBJ_Node *node);
131 TransformAnimationInfo &info,
142 template <
int tuple_size,
typename T>
144 ChannelInfo<T> &info,
147 bool is_rotation =
false);
158 void addTransformChannels(
160 const TransformAnimationInfo &info,
182 #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