naev 0.12.5
GltfObject Struct Reference

Defines a complete object. More...

#include <gltf.h>

Collaboration diagram for GltfObject:

Data Fields

char * path
Meshmeshes
size_t nmeshes
Nodenodes
size_t nnodes
Scenescenes
size_t nscenes
Materialmaterials
size_t nmaterials
Animationanimations
size_t nanimations
GLfloat radius
int scene_body
int scene_engine
GltfTrailtrails
GltfMountmounts
int loaded

Detailed Description

Defines a complete object.

Definition at line 182 of file gltf.h.

Field Documentation

◆ animations

Animation* GltfObject::animations

The animations.

Definition at line 192 of file gltf.h.

◆ loaded

int GltfObject::loaded

Fully loaded.

Definition at line 201 of file gltf.h.

◆ materials

Material* GltfObject::materials

Available materials.

Definition at line 190 of file gltf.h.

◆ meshes

Mesh* GltfObject::meshes

The meshes.

Definition at line 184 of file gltf.h.

◆ mounts

GltfMount* GltfObject::mounts

Mount points fo weapons.

Definition at line 200 of file gltf.h.

◆ nanimations

size_t GltfObject::nanimations

Number of animations.

Definition at line 193 of file gltf.h.

◆ nmaterials

size_t GltfObject::nmaterials

Number of materials.

Definition at line 191 of file gltf.h.

◆ nmeshes

size_t GltfObject::nmeshes

Number of meshes.

Definition at line 185 of file gltf.h.

◆ nnodes

size_t GltfObject::nnodes

Number of nodes.

Definition at line 187 of file gltf.h.

◆ nodes

Node* GltfObject::nodes

The nodes.

Definition at line 186 of file gltf.h.

◆ nscenes

size_t GltfObject::nscenes

Number of scenes.

Definition at line 189 of file gltf.h.

◆ path

char* GltfObject::path

Path containing the gltf, used for finding elements.

Definition at line 183 of file gltf.h.

◆ radius

GLfloat GltfObject::radius

Sphere fit on the model centered at 0,0.

Definition at line 194 of file gltf.h.

◆ scene_body

int GltfObject::scene_body

Body of the object.

Definition at line 196 of file gltf.h.

◆ scene_engine

int GltfObject::scene_engine

Engine of the object (if applicable or -1)

Definition at line 197 of file gltf.h.

◆ scenes

Scene* GltfObject::scenes

The scenes.

Definition at line 188 of file gltf.h.

◆ trails

GltfTrail* GltfObject::trails

Trails for trail generation.

Definition at line 199 of file gltf.h.


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