Additional information about the triangle arrays returned by ITriangleSelector::getTriangles. More...
#include <ITriangleSelector.h>
Public Member Functions  
SCollisionTriangleRange ()  
bool  isIndexInRange (irr::u32 triangleIndex) const 
Check if this triangle index inside the range. More...  
Public Attributes  
irr::u32  MaterialIndex 
Index of selected material in the SceneNode. Usually only valid when MeshBuffer is also set, otherwise always 0. More...  
const IMeshBuffer *  MeshBuffer 
irr::u32  RangeSize 
Number of elements in the returned triangle array for which this struct is valid (starting with RangeStart) More...  
irr::u32  RangeStart 
First index in the returned triangle array for which this struct is valid. More...  
ISceneNode *  SceneNode 
SceneNode from which the triangles are from. More...  
ITriangleSelector *  Selector 
Real selector which contained those triangles (useful when working with MetaTriangleSelector) More...  
Additional information about the triangle arrays returned by ITriangleSelector::getTriangles.
ITriangleSelector are free to fill out this information fully, partly or ignore it. Usually they will try to fill it when they can and set values to 0 otherwise.
Definition at line 28 of file ITriangleSelector.h.

inline 
Definition at line 30 of file ITriangleSelector.h.

inline 
Check if this triangle index inside the range.
triangleIndex  Index to an element inside the array of triangles returned by ITriangleSelector::getTriangles 
Definition at line 40 of file ITriangleSelector.h.
References RangeSize, and RangeStart.
irr::u32 irr::scene::SCollisionTriangleRange::MaterialIndex 
Index of selected material in the SceneNode. Usually only valid when MeshBuffer is also set, otherwise always 0.
Definition at line 62 of file ITriangleSelector.h.
const IMeshBuffer* irr::scene::SCollisionTriangleRange::MeshBuffer 
Meshbuffer from which the triangles are from Is 0 when the ITriangleSelector doesn't support meshbuffer selection
Definition at line 59 of file ITriangleSelector.h.
irr::u32 irr::scene::SCollisionTriangleRange::RangeSize 
Number of elements in the returned triangle array for which this struct is valid (starting with RangeStart)
Definition at line 49 of file ITriangleSelector.h.
Referenced by isIndexInRange().
irr::u32 irr::scene::SCollisionTriangleRange::RangeStart 
First index in the returned triangle array for which this struct is valid.
Definition at line 46 of file ITriangleSelector.h.
Referenced by isIndexInRange().
ISceneNode* irr::scene::SCollisionTriangleRange::SceneNode 
SceneNode from which the triangles are from.
Definition at line 55 of file ITriangleSelector.h.
ITriangleSelector* irr::scene::SCollisionTriangleRange::Selector 
Real selector which contained those triangles (useful when working with MetaTriangleSelector)
Definition at line 52 of file ITriangleSelector.h.