OGRE-Next: Ogre::LwString::Float 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::LwString::Float Struct Reference

`#include <OgreLwString.h>`

## Public Member Functions
| Float (float value, int precision=-1, int minWidth=-1)

## Public Attributes
int | mMinWidth
int | mPrecision
float | mValue

## Constructor & Destructor Documentation

## ◆ Float()

Ogre::LwString::Float::Float | ( | float | value,
|  | int | precision = -1,
|  | int | minWidth = -1 )
| inline

Parameters

  value | float value to convert.
  precision | Controls truncation/rounding. Example: value = 1.56 precision = 1 prints "1.6"
  minWidth | Controls the minimum width of the decimals. Example: value = 1.5 minWidth = 2 prints "1.50"

References mMinWidth, mPrecision, and mValue.

## Member Data Documentation

## ◆ mMinWidth

int Ogre::LwString::Float::mMinWidth

Referenced by Float(), and Ogre::LwString::a().

## ◆ mPrecision

int Ogre::LwString::Float::mPrecision

Referenced by Float(), and Ogre::LwString::a().

## ◆ mValue

float Ogre::LwString::Float::mValue

Referenced by Float(), and Ogre::LwString::a().

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

- OgreLwString.h