OGRE  1.12.13
Object-Oriented Graphics Rendering Engine
Ogre::Volume::Vertex Struct Reference

Lightweight struct to represent a mesh vertex. More...

#include <OgreVolumeMeshBuilder.h>

Public Member Functions

 Vertex ()
 
 Vertex (const Vector3 &v, const Vector3 &n)
 Convenience constructor. More...
 

Public Attributes

Real nX
 X component of the normal. More...
 
Real nY
 Y component of the normal. More...
 
Real nZ
 Z component of the normal. More...
 
Real x
 X coordinate of the position. More...
 
Real y
 Y coordinate of the position. More...
 
Real z
 Z coordinate of the position. More...
 

Detailed Description

Lightweight struct to represent a mesh vertex.

Constructor & Destructor Documentation

◆ Vertex() [1/2]

Ogre::Volume::Vertex::Vertex ( const Vector3 v,
const Vector3 n 
)
inline

Convenience constructor.

Parameters
vThe vertex position.
nThe vertex normal.

◆ Vertex() [2/2]

Ogre::Volume::Vertex::Vertex ( )
inline

Member Data Documentation

◆ x

Real Ogre::Volume::Vertex::x

X coordinate of the position.

◆ y

Real Ogre::Volume::Vertex::y

Y coordinate of the position.

◆ z

Real Ogre::Volume::Vertex::z

Z coordinate of the position.

◆ nX

Real Ogre::Volume::Vertex::nX

X component of the normal.

◆ nY

Real Ogre::Volume::Vertex::nY

Y component of the normal.

◆ nZ

Real Ogre::Volume::Vertex::nZ

Z component of the normal.


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