1 #ifndef __GLTF_Translator_h__
2 #define __GLTF_Translator_h__
26 bool promotePointAttribs =
true;
62 static bool importSkeleton(
GU_Detail *gdp,
74 static bool importSkinnedMesh(
GU_Detail *gdp,
80 static bool getAnimationNames(
85 static bool getNodes(
const GLTF_Reader& gltf_reader,
92 static bool createCapturePoseAttributes(
GU_Detail *gdp,
98 static bool getNodeIndexFromName(
const GLTF_Reader *gltf_reader,
99 const char *node_name,
104 static bool getMeshIndexFromName(
const GLTF_Reader *gltf_reader,
105 const char *mesh_name,
110 static bool getNodeTransform(
117 static bool importMaterial(
GU_Detail* gdp,
123 static bool addGltfDetailAttrib(
GU_Detail* gdp,
137 static bool addPointAttribute(
GU_Detail *gdp,
140 const char* attrib_name,
143 static bool doesURIContainEmbeddedData(
147 #endif // __GLTF_Translator_h__
MeshImportOptions myMeshImportOptions
MaterialImportOptions myMaterialImportOptions
GLsizei const GLfloat * value
UT_Array< GLTF_Index > myChildren
UT_StringHolder materialNodePath
UT_Quaternion myRestRotation
GA_API const UT_StringHolder transform
UT_Vector3D myRestTranslation
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter