cgv
Loading...
Searching...
No Matches
fx::gltf::Node Struct Reference

Public Attributes

std::string name
 
int32_t camera { -1 }
 
int32_t mesh { -1 }
 
int32_t skin { -1 }
 
std::array< float, 16 > matrix { defaults::IdentityMatrix }
 
std::array< float, 4 > rotation { defaults::IdentityRotation }
 
std::array< float, 3 > scale { defaults::IdentityVec3 }
 
std::array< float, 3 > translation { defaults::NullVec3 }
 
std::vector< int32_t > children {}
 
std::vector< float > weights {}
 
nlohmann::json extensionsAndExtras {}
 

Detailed Description

Definition at line 690 of file gltf.h.

Member Data Documentation

◆ camera

int32_t fx::gltf::Node::camera { -1 }

Definition at line 694 of file gltf.h.

◆ children

std::vector<int32_t> fx::gltf::Node::children {}

Definition at line 703 of file gltf.h.

◆ extensionsAndExtras

nlohmann::json fx::gltf::Node::extensionsAndExtras {}

Definition at line 706 of file gltf.h.

◆ matrix

std::array<float, 16> fx::gltf::Node::matrix { defaults::IdentityMatrix }

Definition at line 698 of file gltf.h.

◆ mesh

int32_t fx::gltf::Node::mesh { -1 }

Definition at line 695 of file gltf.h.

◆ name

std::string fx::gltf::Node::name

Definition at line 692 of file gltf.h.

◆ rotation

std::array<float, 4> fx::gltf::Node::rotation { defaults::IdentityRotation }

Definition at line 699 of file gltf.h.

◆ scale

std::array<float, 3> fx::gltf::Node::scale { defaults::IdentityVec3 }

Definition at line 700 of file gltf.h.

◆ skin

int32_t fx::gltf::Node::skin { -1 }

Definition at line 696 of file gltf.h.

◆ translation

std::array<float, 3> fx::gltf::Node::translation { defaults::NullVec3 }

Definition at line 701 of file gltf.h.

◆ weights

std::vector<float> fx::gltf::Node::weights {}

Definition at line 704 of file gltf.h.


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