i6engine  1.0
i6e::modules::HeightmapCollisionShapeData Struct Reference

#include <D:/Projekte/i6engine/libs/i6engine-modules/include/i6engine/modules/physics/collisionShapes/HeightmapCollisionShape.h>

Public Member Functions

 HeightmapCollisionShapeData ()
 
 HeightmapCollisionShapeData (uint32_t w, uint32_t h, const std::vector< double > &d, double minH, double maxH, const Vec3 &s)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int)
 
- Public Member Functions inherited from i6e::modules::CollisionShapeData
 CollisionShapeData ()
 
 CollisionShapeData (CollisionShapeType t)
 
virtual ~CollisionShapeData ()
 
std::string Serialize () const
 
template<class Archive >
void serialize (Archive &ar, const unsigned int)
 

Public Attributes

uint32_t width
 
uint32_t height
 
std::vector< double > data
 
double minHeight
 
double maxHeight
 
Vec3 scaling
 
- Public Attributes inherited from i6e::modules::CollisionShapeData
CollisionShapeType type
 

Additional Inherited Members

- Static Public Member Functions inherited from i6e::modules::CollisionShapeData
static CollisionShapeDataDeserialize (const std::string &serialized)
 

Detailed Description

Definition at line 40 of file HeightmapCollisionShape.h.

Constructor & Destructor Documentation

i6e::modules::HeightmapCollisionShapeData::HeightmapCollisionShapeData ( )
i6e::modules::HeightmapCollisionShapeData::HeightmapCollisionShapeData ( uint32_t  w,
uint32_t  h,
const std::vector< double > &  d,
double  minH,
double  maxH,
const Vec3 s 
)

Member Function Documentation

template<class Archive >
void i6e::modules::HeightmapCollisionShapeData::serialize ( Archive &  ar,
const unsigned  int 
)
inline

Definition at line 53 of file HeightmapCollisionShape.h.

Member Data Documentation

std::vector<double> i6e::modules::HeightmapCollisionShapeData::data

Definition at line 43 of file HeightmapCollisionShape.h.

uint32_t i6e::modules::HeightmapCollisionShapeData::height

Definition at line 42 of file HeightmapCollisionShape.h.

double i6e::modules::HeightmapCollisionShapeData::maxHeight

Definition at line 45 of file HeightmapCollisionShape.h.

double i6e::modules::HeightmapCollisionShapeData::minHeight

Definition at line 44 of file HeightmapCollisionShape.h.

Vec3 i6e::modules::HeightmapCollisionShapeData::scaling

Definition at line 46 of file HeightmapCollisionShape.h.

uint32_t i6e::modules::HeightmapCollisionShapeData::width

Definition at line 41 of file HeightmapCollisionShape.h.


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