DunGen  1.1
Dungeongenerator library for Irrlicht
Public Attributes | List of all members
DunGen::SDetailobjectParameters Struct Reference

The parameters of a detailobject in a corridor. More...

#include <CorridorCommon.h>

Public Attributes

irr::scene::ISceneNode * Node
 The scene node (with its children), which is used as template for the detail object. More...
 
irr::core::vector3d< double > Scale
 The scale factor of the detail object. More...
 
irr::core::vector3d< double > Rotation
 The rotation of the detail object. More...
 
irr::core::vector2d< double > Position
 The 2D position of the detail object, uses the same coordiante system as the corridor points: (0,0) is center. More...
 
double DistanceSampling
 The sampling factor for computing the underlying hermite spline. Advice: use the same as the distance you set with DunGen::CorridorSetDistances. More...
 
unsigned int DistanceNumFactor
 The distancefactor. Each detailobject is placed every DistanceNumFactor*[DistanceNumMin,DistanceNumMax] samplepoints. More...
 
unsigned int DistanceNumMin
 The minimum random distance. Each detailobject is placed every DistanceNumFactor*[DistanceNumMin,DistanceNumMax] samplepoints. More...
 
unsigned int DistanceNumMax
 The maximum random distance. Each detailobject is placed every DistanceNumFactor*[DistanceNumMin,DistanceNumMax] samplepoints. More...
 
unsigned int DistanceNumMinFirstElement
 The minimum random distance for the first detailobject. The first detailobject is placed every DistanceNumFactor*[DistanceNumMinFirstElement,DistanceNumMaxFirstElement] samplepoints. More...
 
unsigned int DistanceNumMaxFirstElement
 The maximum random distance for the first detailobject. The first detailobject is placed every DistanceNumFactor*[DistanceNumMinFirstElement,DistanceNumMaxFirstElement] samplepoints. More...
 
bool ObjectAtT1
 Shall a detailobjects be placed at the last samplepoint (end of corridor), even if the distance would be too short? More...
 

Detailed Description

The parameters of a detailobject in a corridor.

Member Data Documentation

irr::scene::ISceneNode* DunGen::SDetailobjectParameters::Node

The scene node (with its children), which is used as template for the detail object.

irr::core::vector3d<double> DunGen::SDetailobjectParameters::Scale

The scale factor of the detail object.

irr::core::vector3d<double> DunGen::SDetailobjectParameters::Rotation

The rotation of the detail object.

irr::core::vector2d<double> DunGen::SDetailobjectParameters::Position

The 2D position of the detail object, uses the same coordiante system as the corridor points: (0,0) is center.

double DunGen::SDetailobjectParameters::DistanceSampling

The sampling factor for computing the underlying hermite spline. Advice: use the same as the distance you set with DunGen::CorridorSetDistances.

unsigned int DunGen::SDetailobjectParameters::DistanceNumFactor

The distancefactor. Each detailobject is placed every DistanceNumFactor*[DistanceNumMin,DistanceNumMax] samplepoints.

unsigned int DunGen::SDetailobjectParameters::DistanceNumMin

The minimum random distance. Each detailobject is placed every DistanceNumFactor*[DistanceNumMin,DistanceNumMax] samplepoints.

unsigned int DunGen::SDetailobjectParameters::DistanceNumMax

The maximum random distance. Each detailobject is placed every DistanceNumFactor*[DistanceNumMin,DistanceNumMax] samplepoints.

unsigned int DunGen::SDetailobjectParameters::DistanceNumMinFirstElement

The minimum random distance for the first detailobject. The first detailobject is placed every DistanceNumFactor*[DistanceNumMinFirstElement,DistanceNumMaxFirstElement] samplepoints.

unsigned int DunGen::SDetailobjectParameters::DistanceNumMaxFirstElement

The maximum random distance for the first detailobject. The first detailobject is placed every DistanceNumFactor*[DistanceNumMinFirstElement,DistanceNumMaxFirstElement] samplepoints.

bool DunGen::SDetailobjectParameters::ObjectAtT1

Shall a detailobjects be placed at the last samplepoint (end of corridor), even if the distance would be too short?