HDK
|
#include <GLTF_Refiner.h>
Classes | |
struct | BlendShapeInfo |
struct | RefineOptions |
Public Types | |
enum | MeshNameSource { MeshNameSource::NONE, MeshNameSource::NODE_NAME, MeshNameSource::ATTRIBUTE } |
Static Public Member Functions | |
static GLTF_RefinerHandle | refine (const GU_Detail *src, GLTF_ExportRoot &root, GLTF_Node &node, const UT_StringHolder &obj_material, UT_Function< GLTF_Handle(UT_StringHolder, UT_Options &)> create_material, RefineOptions options, GLTF_BaseErrorManager *error_manager) |
Static Public Member Functions inherited from GT_Refine | |
static void * | operator new (size_t size) |
static void * | operator new (size_t size, void *p) |
static void | operator delete (void *p, size_t size) |
Additional Inherited Members | |
Protected Member Functions inherited from UT_IntrusiveRefCounter< GLTF_Refiner > | |
SYS_FORCE_INLINE | ~UT_IntrusiveRefCounter () |
Destructor: Only derived classes can destruct this. More... | |
Definition at line 55 of file GLTF_Refiner.h.
|
strong |
Enumerator | |
---|---|
NONE | |
NODE_NAME | |
ATTRIBUTE |
Definition at line 85 of file GLTF_Refiner.h.
GLTF_NAMESPACE::GLTF_Refiner::GLTF_Refiner | ( | GLTF_ExportRoot & | root, |
GLTF_Node * | node, | ||
const UT_StringHolder & | obj_material, | ||
UT_Function< GLTF_Handle(UT_StringHolder, UT_Options &)> | create_material, | ||
RefineOptions | options, | ||
GLTF_BaseErrorManager * | error_manager | ||
) |
|
overridedefault |
|
overridevirtual |
This method is called for all primitives generated during the refinement process.
Implements GT_Refine.
|
inlineoverridevirtual |
Return true if the refinement allows threaded refinement of primitives.
Reimplemented from GT_Refine.
Definition at line 123 of file GLTF_Refiner.h.
void GLTF_NAMESPACE::GLTF_Refiner::animateInstanceXforms | ( | UT_Function< void(GLTF_Handle, const UT_Array< UT_Matrix4D > &)> | func | ) |
|
static |
A convenience function. Refines the detail, and adds meshes (or potentially submeshes if instancing is used) to the GLTF_Node that is passed in.
void GLTF_NAMESPACE::GLTF_Refiner::setAddingSubsequentFrames | ( | bool | use | ) |
void GLTF_NAMESPACE::GLTF_Refiner::setBlendShapeInfo | ( | BlendShapeInfo | info | ) |