Loading...
Searching...
No Matches
hellfire::ImportedNode Struct Reference

Represents a node in the imported model hierarchy. More...

#include <ImportResult.h>

Collaboration diagram for hellfire::ImportedNode:

Public Attributes

std::string name
 
glm::vec3 position {0.0f}
 
glm::vec3 rotation {0.0f}
 
glm::vec3 scale {1.0f}
 
std::vector< size_t > mesh_indices
 Indices into ImportResult::meshes.
 
std::vector< size_t > child_indices
 Indices into ImportResult::nodes.
 

Detailed Description

Represents a node in the imported model hierarchy.

Definition at line 15 of file ImportResult.h.

Member Data Documentation

◆ child_indices

std::vector<size_t> hellfire::ImportedNode::child_indices

Indices into ImportResult::nodes.

Definition at line 24 of file ImportResult.h.

◆ mesh_indices

std::vector<size_t> hellfire::ImportedNode::mesh_indices

Indices into ImportResult::meshes.

Definition at line 22 of file ImportResult.h.

◆ name

std::string hellfire::ImportedNode::name

Definition at line 16 of file ImportResult.h.

◆ position

glm::vec3 hellfire::ImportedNode::position {0.0f}

Definition at line 17 of file ImportResult.h.

◆ rotation

glm::vec3 hellfire::ImportedNode::rotation {0.0f}

Definition at line 18 of file ImportResult.h.

◆ scale

glm::vec3 hellfire::ImportedNode::scale {1.0f}

Definition at line 19 of file ImportResult.h.


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