Public Member Functions | Public Attributes

sp::scene::SMeshConstruct Struct Reference

Basic meshes construction settings. More...

#include <spBasicMeshGenerator.hpp>

List of all members.

Public Member Functions

 SMeshConstruct ()
 SMeshConstruct (s32 MeshSegments, f32 MeshRadius=0.5f, bool MeshHasCap=true, const video::EShadingTypes DefShading=video::SHADING_GOURAUD)
 SMeshConstruct (s32 MeshSegments, f32 MeshRadiusInner, f32 MeshRadiusOuter, bool MeshHasCap=true, const video::EShadingTypes DefShading=video::SHADING_GOURAUD)
 SMeshConstruct (s32 MeshSegmentsVert, s32 MeshSegmentsHorz, f32 MeshRadiusInner, f32 MeshRadiusOuter, bool MeshHasCap=true, const video::EShadingTypes DefShading=video::SHADING_GOURAUD)
 SMeshConstruct (s32 MeshSegmentsVert, s32 MeshSegmentsHorz, f32 MeshRadiusInner, f32 MeshRadiusOuter, f32 SpiralRotationDegree, f32 SpiralRotationDistance, bool MeshHasCap=true, const video::EShadingTypes DefShading=video::SHADING_GOURAUD)
 ~SMeshConstruct ()
void checkDefaultSegments (const EBasicMeshes Model, s32 &Segments)
void checkDefaultShading (const EBasicMeshes Model)

Public Attributes

s32 SegmentsVert
 Vertical segments count (main segments indication, when only one segments can be used).
s32 SegmentsHorz
 Horizontal segments count.
f32 RadiusInner
 Inner radius (main radius indication, when only one radius can be used).
f32 RadiusOuter
 Outer radius.
bool HasCap
 Specifies if the mesh has a cap (only used for Cone, Cylinder, Spiral, Pipe and Disk).
video::EShadingTypes Shading
 Default shading type.
f32 RotationDegree
 Rotation degree for a spiral.
f32 RotationDistance
 Rotation distance for a spiral.

Detailed Description

Basic meshes construction settings.


Constructor & Destructor Documentation

sp::scene::SMeshConstruct::SMeshConstruct (  ) 
sp::scene::SMeshConstruct::SMeshConstruct ( s32  MeshSegments,
f32  MeshRadius = 0.5f,
bool  MeshHasCap = true,
const video::EShadingTypes  DefShading = video::SHADING_GOURAUD 
)
sp::scene::SMeshConstruct::SMeshConstruct ( s32  MeshSegments,
f32  MeshRadiusInner,
f32  MeshRadiusOuter,
bool  MeshHasCap = true,
const video::EShadingTypes  DefShading = video::SHADING_GOURAUD 
)
sp::scene::SMeshConstruct::SMeshConstruct ( s32  MeshSegmentsVert,
s32  MeshSegmentsHorz,
f32  MeshRadiusInner,
f32  MeshRadiusOuter,
bool  MeshHasCap = true,
const video::EShadingTypes  DefShading = video::SHADING_GOURAUD 
)
sp::scene::SMeshConstruct::SMeshConstruct ( s32  MeshSegmentsVert,
s32  MeshSegmentsHorz,
f32  MeshRadiusInner,
f32  MeshRadiusOuter,
f32  SpiralRotationDegree,
f32  SpiralRotationDistance,
bool  MeshHasCap = true,
const video::EShadingTypes  DefShading = video::SHADING_GOURAUD 
)
sp::scene::SMeshConstruct::~SMeshConstruct (  ) 

Member Function Documentation

void sp::scene::SMeshConstruct::checkDefaultSegments ( const EBasicMeshes  Model,
s32 Segments 
)
void sp::scene::SMeshConstruct::checkDefaultShading ( const EBasicMeshes  Model  ) 

Member Data Documentation

Specifies if the mesh has a cap (only used for Cone, Cylinder, Spiral, Pipe and Disk).

Inner radius (main radius indication, when only one radius can be used).

Outer radius.

Rotation degree for a spiral.

Rotation distance for a spiral.

Horizontal segments count.

Vertical segments count (main segments indication, when only one segments can be used).

Default shading type.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines