PeriDyno 1.0.0
Loading...
Searching...
No Matches
vkglTF::Node Struct Reference

#include <VulkanglTFModel.h>

Collaboration diagram for vkglTF::Node:

Public Member Functions

glm::mat4 localMatrix ()
 
glm::mat4 getMatrix ()
 
void update ()
 
 ~Node ()
 

Public Attributes

Nodeparent
 
uint32_t index
 
std::vector< Node * > children
 
glm::mat4 matrix
 
std::string name
 
Meshmesh
 
Skinskin
 
int32_t skinIndex = -1
 
glm::vec3 translation {}
 
glm::vec3 scale { 1.0f }
 
glm::quat rotation {}
 

Detailed Description

Definition at line 166 of file VulkanglTFModel.h.

Constructor & Destructor Documentation

◆ ~Node()

vkglTF::Node::~Node ( )

Definition at line 561 of file VulkanglTFModel.cpp.

Member Function Documentation

◆ getMatrix()

glm::mat4 vkglTF::Node::getMatrix ( )

Definition at line 526 of file VulkanglTFModel.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ localMatrix()

glm::mat4 vkglTF::Node::localMatrix ( )

Definition at line 522 of file VulkanglTFModel.cpp.

Here is the caller graph for this function:

◆ update()

void vkglTF::Node::update ( )

Definition at line 536 of file VulkanglTFModel.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ children

std::vector<Node*> vkglTF::Node::children

Definition at line 169 of file VulkanglTFModel.h.

◆ index

uint32_t vkglTF::Node::index

Definition at line 168 of file VulkanglTFModel.h.

◆ matrix

glm::mat4 vkglTF::Node::matrix

Definition at line 170 of file VulkanglTFModel.h.

◆ mesh

Mesh* vkglTF::Node::mesh

Definition at line 172 of file VulkanglTFModel.h.

◆ name

std::string vkglTF::Node::name

Definition at line 171 of file VulkanglTFModel.h.

◆ parent

Node* vkglTF::Node::parent

Definition at line 167 of file VulkanglTFModel.h.

◆ rotation

glm::quat vkglTF::Node::rotation {}

Definition at line 177 of file VulkanglTFModel.h.

◆ scale

glm::vec3 vkglTF::Node::scale { 1.0f }

Definition at line 176 of file VulkanglTFModel.h.

◆ skin

Skin* vkglTF::Node::skin

Definition at line 173 of file VulkanglTFModel.h.

◆ skinIndex

int32_t vkglTF::Node::skinIndex = -1

Definition at line 174 of file VulkanglTFModel.h.

◆ translation

glm::vec3 vkglTF::Node::translation {}

Definition at line 175 of file VulkanglTFModel.h.


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