OGRE-Next: Ogre::v1::MeshLodUsage Struct Reference

| OGRE-Next 3.0.0 Object-Oriented Graphics Rendering Engine

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Ogre::v1::MeshLodUsage Struct Reference
Core » Resources

A way of recording the way each LODs is recorded this Mesh. More...

`#include <OgreMesh.h>`

## Public Member Functions
| MeshLodUsage ()

## Public Attributes
EdgeData * | edgeData
| Edge list for this LOD level (may be derived from manual mesh).
MeshPtr | manualMesh
| Hard link to mesh to avoid looking up each time.
String | manualName
| Only relevant if mIsLodManual is true, the name of the alternative mesh to use.
Real | userValue
| User-supplied values used to determine on which distance the lod is applies.
Real | value
| Value used by to determine when this LOD applies.

## Detailed Description

A way of recording the way each LODs is recorded this Mesh.

## Constructor & Destructor Documentation

## ◆ MeshLodUsage()

Ogre::v1::MeshLodUsage::MeshLodUsage | ( |  | ) |
| inline

References edgeData, userValue, and value.

## Member Data Documentation

## ◆ edgeData

EdgeData* Ogre::v1::MeshLodUsage::edgeData
| mutable

Edge list for this LOD level (may be derived from manual mesh).

Referenced by MeshLodUsage().

## ◆ manualMesh

MeshPtr Ogre::v1::MeshLodUsage::manualMesh
| mutable

Hard link to mesh to avoid looking up each time.

## ◆ manualName

String Ogre::v1::MeshLodUsage::manualName

Only relevant if mIsLodManual is true, the name of the alternative mesh to use.

## ◆ userValue

Real Ogre::v1::MeshLodUsage::userValue

User-supplied values used to determine on which distance the lod is applies.

Remarks
  This is required in case the LOD strategy changes.

Referenced by MeshLodUsage().

## ◆ value

Real Ogre::v1::MeshLodUsage::value

Value used by to determine when this LOD applies.

Remarks
  May be interpretted differently by different strategies. Transformed from user-supplied values with LodStrategy::transformUserValue.

Referenced by MeshLodUsage().

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

- OgreMesh.h