Nebula
Loading...
Searching...
No Matches
Game::AngularVelocity::Traits Struct Reference

#include <velocity.h>

Public Types

using type = AngularVelocity
 
using field_types = std::tuple<float, float, float>
 

Public Member Functions

 Traits ()=delete
 

Static Public Attributes

static constexpr auto name = "AngularVelocity"
 
static constexpr auto fully_qualified_name = "Game.AngularVelocity"
 
static constexpr size_t num_fields = 3
 
static constexpr const char * field_names [num_fields]
 
static constexpr const char * field_typenames [num_fields]
 
static constexpr size_t field_byte_offsets [num_fields]
 

Member Typedef Documentation

◆ field_types

using Game::AngularVelocity::Traits::field_types = std::tuple<float, float, float>

◆ type

Constructor & Destructor Documentation

◆ Traits()

Game::AngularVelocity::Traits::Traits ( )
delete

Member Data Documentation

◆ field_byte_offsets

size_t Game::AngularVelocity::Traits::field_byte_offsets[num_fields]
staticconstexpr
Initial value:
= {
offsetof(AngularVelocity, x),
offsetof(AngularVelocity, y),
offsetof(AngularVelocity, z)
}
AngularVelocity(Math::vec3 const &v)
Definition velocity.h:31
float x
Definition vec3.h:94
float z
Definition vec3.h:94
float y
Definition vec3.h:94

◆ field_names

const char* Game::AngularVelocity::Traits::field_names[num_fields]
staticconstexpr
Initial value:
= {
"x",
"y",
"z"
}

◆ field_typenames

const char* Game::AngularVelocity::Traits::field_typenames[num_fields]
staticconstexpr
Initial value:
= {
"float",
"float",
"float"
}

◆ fully_qualified_name

auto Game::AngularVelocity::Traits::fully_qualified_name = "Game.AngularVelocity"
staticconstexpr

◆ name

auto Game::AngularVelocity::Traits::name = "AngularVelocity"
staticconstexpr

◆ num_fields

size_t Game::AngularVelocity::Traits::num_fields = 3
staticconstexpr

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