Loading...
Searching...
No Matches

Public Member Functions

int register_joint (const ufbx_node *bone)
 
void link_joint_parents ()
 
int register_material (const ufbx_material *m)
 
FbxParser::ScenePart extract_part (const ufbx_node *node, const ufbx_mesh *umesh, const ufbx_mesh_part &part)
 
void extract_node (const ufbx_node *node, int parent_index)
 
void extract_scene (const ufbx_scene *scene)
 

Static Public Member Functions

template<typename Read >
static std::shared_ptr< std::vector< float > > extract_attribute (const ufbx_mesh *umesh, const ufbx_mesh_part &part, int floats_per_vertex, std::vector< uint32_t > &tris, Read &&read)
 
static std::shared_ptr< ossia::light_component > to_light (const ufbx_light *l)
 
static std::shared_ptr< ossia::camera_component > to_camera (const ufbx_camera *c)
 

Public Attributes

std::vector< FbxParser::SceneNode > & nodes
 
std::vector< std::shared_ptr< ossia::material_component > > & materials
 
std::shared_ptr< ossia::skeleton_component > & skeleton
 
std::unordered_map< const ufbx_material *, int > material_index
 
std::unordered_map< const ufbx_node *, int > joint_index_of
 
std::vector< uint32_t > tri_indices
 

The documentation for this struct was generated from the following file:
  • FbxParser.cpp