CrystalSpace

Public API Reference

iengine/mesh.h File Reference

Mesh interfaces. More...

#include "csutil/scf.h"
#include "csgeom/box.h"
#include "csgeom/vector3.h"
#include "ivideo/graph3d.h"

Go to the source code of this file.

Classes

struct  csHitBeamResult
 Return structure for the iMeshWrapper->HitBeam() routines. More...
struct  csScreenBoxResult
 Return structure for iMeshWrapper->GetScreenBoundingBox(). More...
struct  iMeshDrawCallback
 Set a callback which is called just before the object is drawn. More...
struct  iMeshFactoryList
 A list of mesh factories. More...
struct  iMeshFactoryWrapper
 A mesh factory wrapper is an engine-level object that wraps around a mesh object factory (iMeshObjectFactory). More...
struct  iMeshList
 A list of meshes. More...
struct  iMeshWrapper
 A mesh wrapper is an engine-level object that wraps around an actual mesh object (iMeshObject). More...
struct  iMeshWrapperIterator
 This is an iterator mesh wrappers. More...

Meshwrapper flags

#define CS_ENTITY_CAMERA   4
 If CS_ENTITY_CAMERA is set then this entity will be always be centerer around the same spot relative to the camera.
#define CS_ENTITY_DETAIL   2
 If CS_ENTITY_DETAIL is set then this entity is a detail object.
#define CS_ENTITY_INVISIBLE   (CS_ENTITY_INVISIBLEMESH+CS_ENTITY_NOHITBEAM)
 If CS_ENTITY_INVISIBLE is set then this thing will not be rendered.
#define CS_ENTITY_INVISIBLEMESH   8
 If CS_ENTITY_INVISIBLEMESH is set then this thing will not be rendered.
#define CS_ENTITY_NOCLIP   128
 If CS_ENTITY_NOCLIP is set then this entity will be drawn fully (unclipped to portal frustum) and only once for every frame/camera combination.
#define CS_ENTITY_NOHITBEAM   64
 If CS_ENTITY_NOHITBEAM is set then this thing will not react to HitBeam calls.
#define CS_ENTITY_NOLIGHTING   32
 If CS_ENTITY_NOLIGHTING is set then this thing will not be lit.
#define CS_ENTITY_NOSHADOWS   16
 If CS_ENTITY_NOSHADOWS is set then this thing will not cast shadows.

SetLightingUpdate flags

#define CS_LIGHTINGUPDATE_ALWAYSUPDATE   2
 If this flag for iMeshWrapper->SetLightingUpdate() is set then the set of relevant lights will be recalculated every time.
#define CS_LIGHTINGUPDATE_SORTRELEVANCE   1
 This is a flag for iMeshWrapper->SetLightingUpdate().


Detailed Description

Mesh interfaces.

Definition in file mesh.h.


Generated for Crystal Space by doxygen 1.4.7