OGRE: Ogre::LodData::Triangle Struct Reference

| OGRE 2.2.4 Object-Oriented Graphics Rendering Engine

Public Member Functions | Public Attributes | List of all members
Ogre::LodData::Triangle Struct Reference

`#include <OgreLodData.h>`

## Public Member Functions
void | computeNormal ()
| Vertex ID in the buffer associated with the submeshID. More...
unsigned int | getVertexID (const Vertex *v) const
bool | hasVertex (const Vertex *v) const
bool | isMalformed ()

## Public Attributes
bool | isRemoved
Vector3 | normal
unsigned short | submeshID
Vertex * | vertex [3]
unsigned int | vertexID [3]
| ID of the submesh. Usable with mMesh.getSubMesh() function. More...

## Member Function Documentation

## ◆ computeNormal()

void Ogre::LodData::Triangle::computeNormal | ( |  | ) |

Vertex ID in the buffer associated with the submeshID.

## ◆ getVertexID()

unsigned int Ogre::LodData::Triangle::getVertexID | ( | const Vertex * | v | ) | const

## ◆ hasVertex()

bool Ogre::LodData::Triangle::hasVertex | ( | const Vertex * | v | ) | const

## ◆ isMalformed()

bool Ogre::LodData::Triangle::isMalformed | ( |  | ) |

## Member Data Documentation

## ◆ isRemoved

bool Ogre::LodData::Triangle::isRemoved

## ◆ normal

Vector3 Ogre::LodData::Triangle::normal

## ◆ submeshID

unsigned short Ogre::LodData::Triangle::submeshID

## ◆ vertex

Vertex* Ogre::LodData::Triangle::vertex[3]

## ◆ vertexID

unsigned int Ogre::LodData::Triangle::vertexID[3]

ID of the submesh. Usable with mMesh.getSubMesh() function.

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

- OgreLodData.h