HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GLTF_ImportOptions Struct Reference

#include <GLTF_ImportOptions.h>

Public Types

enum  ImportSpace { ImportSpace::World, ImportSpace::Object }
 
enum  NodeGeometryImportMethod { NodeGeometryImportMethod::PackedPrimitive, NodeGeometryImportMethod::FlattenedGeometry }
 

Public Attributes

bool myPromotePointAttribs = false
 
bool myAddMeshNameAttrib = false
 
bool myImportApplicationSpecificAttribs = true
 
ImportSpace myImportSpace = ImportSpace::World
 
NodeGeometryImportMethod myNodeGeometryImportMethod = NodeGeometryImportMethod::PackedPrimitive
 
UT_StringHolder myPathAttrib = GA_Names::path
 
bool myImportNames = true
 
bool myImportExtras = true
 
bool myImportAnimations = true
 
bool myUseAnimationFilter = false
 
UT_Set< GLTF_IndexmyAnimationFilter
 
bool myImportAnimationNames = true
 
bool myImportMeshNames = true
 
bool myImportNodeNames = true
 
bool myImportSceneNames = true
 
bool myImportMaterialNames = true
 
UT_StringHolder myAnimationNameAttrib = "gltf_animation_name"_sh
 
UT_StringHolder myMeshNameAttrib = "gltf_mesh_name"_sh
 
UT_StringHolder myNodeNameAttrib = "gltf_node_name"_sh
 
UT_StringHolder mySceneNameAttrib = "gltf_scene_name"_sh
 
UT_StringHolder myMaterialNameAttrib = "gltf_material_name"_sh
 
bool myIgnoreSpecifiedUnsupportedRequiredExtensions = false
 
UT_StringSet myUnsupportedRequiredExtensionsToIgnore
 
UT_StringHolder myMaterialNodePath = ""
 
UT_StringHolder myMaterialTypeOverride = ""
 

Detailed Description

Definition at line 14 of file GLTF_ImportOptions.h.

Member Enumeration Documentation

Enumerator
World 
Object 

Definition at line 16 of file GLTF_ImportOptions.h.

Enumerator
PackedPrimitive 
FlattenedGeometry 

Definition at line 22 of file GLTF_ImportOptions.h.

Member Data Documentation

bool GLTF_ImportOptions::myAddMeshNameAttrib = false

Definition at line 29 of file GLTF_ImportOptions.h.

UT_Set<GLTF_Index> GLTF_ImportOptions::myAnimationFilter

Definition at line 41 of file GLTF_ImportOptions.h.

UT_StringHolder GLTF_ImportOptions::myAnimationNameAttrib = "gltf_animation_name"_sh

Definition at line 49 of file GLTF_ImportOptions.h.

bool GLTF_ImportOptions::myIgnoreSpecifiedUnsupportedRequiredExtensions = false

Definition at line 55 of file GLTF_ImportOptions.h.

bool GLTF_ImportOptions::myImportAnimationNames = true

Definition at line 43 of file GLTF_ImportOptions.h.

bool GLTF_ImportOptions::myImportAnimations = true

Definition at line 39 of file GLTF_ImportOptions.h.

bool GLTF_ImportOptions::myImportApplicationSpecificAttribs = true

Definition at line 30 of file GLTF_ImportOptions.h.

bool GLTF_ImportOptions::myImportExtras = true

Definition at line 37 of file GLTF_ImportOptions.h.

bool GLTF_ImportOptions::myImportMaterialNames = true

Definition at line 47 of file GLTF_ImportOptions.h.

bool GLTF_ImportOptions::myImportMeshNames = true

Definition at line 44 of file GLTF_ImportOptions.h.

bool GLTF_ImportOptions::myImportNames = true

Definition at line 36 of file GLTF_ImportOptions.h.

bool GLTF_ImportOptions::myImportNodeNames = true

Definition at line 45 of file GLTF_ImportOptions.h.

bool GLTF_ImportOptions::myImportSceneNames = true

Definition at line 46 of file GLTF_ImportOptions.h.

ImportSpace GLTF_ImportOptions::myImportSpace = ImportSpace::World

Definition at line 31 of file GLTF_ImportOptions.h.

UT_StringHolder GLTF_ImportOptions::myMaterialNameAttrib = "gltf_material_name"_sh

Definition at line 53 of file GLTF_ImportOptions.h.

UT_StringHolder GLTF_ImportOptions::myMaterialNodePath = ""

Definition at line 58 of file GLTF_ImportOptions.h.

UT_StringHolder GLTF_ImportOptions::myMaterialTypeOverride = ""

Definition at line 59 of file GLTF_ImportOptions.h.

UT_StringHolder GLTF_ImportOptions::myMeshNameAttrib = "gltf_mesh_name"_sh

Definition at line 50 of file GLTF_ImportOptions.h.

NodeGeometryImportMethod GLTF_ImportOptions::myNodeGeometryImportMethod = NodeGeometryImportMethod::PackedPrimitive

Definition at line 34 of file GLTF_ImportOptions.h.

UT_StringHolder GLTF_ImportOptions::myNodeNameAttrib = "gltf_node_name"_sh

Definition at line 51 of file GLTF_ImportOptions.h.

UT_StringHolder GLTF_ImportOptions::myPathAttrib = GA_Names::path

Definition at line 35 of file GLTF_ImportOptions.h.

bool GLTF_ImportOptions::myPromotePointAttribs = false

Definition at line 28 of file GLTF_ImportOptions.h.

UT_StringHolder GLTF_ImportOptions::mySceneNameAttrib = "gltf_scene_name"_sh

Definition at line 52 of file GLTF_ImportOptions.h.

UT_StringSet GLTF_ImportOptions::myUnsupportedRequiredExtensionsToIgnore

Definition at line 56 of file GLTF_ImportOptions.h.

bool GLTF_ImportOptions::myUseAnimationFilter = false

Definition at line 40 of file GLTF_ImportOptions.h.


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