HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GLTF_NAMESPACE::GLTF_Animator Class Reference

#include <GLTF_Animator.h>

Public Member Functions

 ~GLTF_Animator ()=default
 
 GLTF_Animator (GLTF_BaseErrorManager *error_manager)
 
void registerNode (OBJ_Node *node, GLTF_Handle index)
 
void registerGeo (SOP_Node *sop, GU_ConstDetailHandle &cooked_gdh, const GLTF_Handle node_handle, const GLTF_RefinerHandle &refiner)
 
void registerGeo (SOP_Node *sop, const GLTF_Handle node_handle, const GLTF_RefinerHandle &refiner)
 
bool addKeyFrame (fpreal time)
 
void outputToRoot (GLTF_ExportRoot &root)
 
void animateNodeTransform (GLTF_ExportRoot &root, GLTF_Handle node_handle, const UT_Array< UT_Matrix4D > &xforms)
 
void animateMorphTargetWeights (GLTF_ExportRoot &root, GLTF_Handle node_handle, GLTF_Handle weights_handle)
 
void setAnimationName (const UT_StringHolder &anim_name)
 

Detailed Description

Definition at line 44 of file GLTF_Animator.h.

Constructor & Destructor Documentation

GLTF_NAMESPACE::GLTF_Animator::~GLTF_Animator ( )
default
GLTF_NAMESPACE::GLTF_Animator::GLTF_Animator ( GLTF_BaseErrorManager error_manager)

Member Function Documentation

bool GLTF_NAMESPACE::GLTF_Animator::addKeyFrame ( fpreal  time)
void GLTF_NAMESPACE::GLTF_Animator::animateMorphTargetWeights ( GLTF_ExportRoot root,
GLTF_Handle  node_handle,
GLTF_Handle  weights_handle 
)
void GLTF_NAMESPACE::GLTF_Animator::animateNodeTransform ( GLTF_ExportRoot root,
GLTF_Handle  node_handle,
const UT_Array< UT_Matrix4D > &  xforms 
)
void GLTF_NAMESPACE::GLTF_Animator::outputToRoot ( GLTF_ExportRoot root)
void GLTF_NAMESPACE::GLTF_Animator::registerGeo ( SOP_Node sop,
GU_ConstDetailHandle cooked_gdh,
const GLTF_Handle  node_handle,
const GLTF_RefinerHandle refiner 
)
void GLTF_NAMESPACE::GLTF_Animator::registerGeo ( SOP_Node sop,
const GLTF_Handle  node_handle,
const GLTF_RefinerHandle refiner 
)
void GLTF_NAMESPACE::GLTF_Animator::registerNode ( OBJ_Node node,
GLTF_Handle  index 
)
void GLTF_NAMESPACE::GLTF_Animator::setAnimationName ( const UT_StringHolder anim_name)

The documentation for this class was generated from the following file: