1 #ifndef __GLTF_AnimationData_h__
2 #define __GLTF_AnimationData_h__
64 return myAnimations.entries() > 0;
69 myAnimations.entries(count);
74 return myAnimations.entries();
80 return myAnimations[
id];
85 return myAnimations[
id];
88 void clear() { myAnimations.clear(); }
90 bool isNodeAnimated(
const GLTF_Index node_id)
const;
const GLTF_Channel & getChannel(int i) const
exint numAnimations() const
void setNumChannels(int num)
void setName(const char *name)
GLTF_Animation & getAnimation(GLTF_Index id)
void setId(const GLTF_Index id)
exint getNumChannels() const
const UT_StringHolder & getName() const
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
GLuint const GLchar * name
void setNumAnimations(GLTF_Index count)
GLTF_Channel & getChannel(int i)
void setTimeRange(const fpreal begin, const fpreal end)
PcpNodeRef_ChildrenIterator begin(const PcpNodeRef::child_const_range &r)
Support for range-based for loops for PcpNodeRef children ranges.
const GLTF_Animation & getAnimation(GLTF_Index id) const
bool hasAnimations() const