|
MF_API float MFCommandLine_GetFloat |
( |
const char * |
pParameter, |
|
|
float |
defaultValue = 0.0f |
|
) |
| |
Gets a float argument from the command line.
- Parameters
-
pParameter | Name of the parameter to fetch from the command line. |
defaultValue | Default value to use if parameter does not appear on the command line. |
- Returns
- The value of the parameter on the command line as a float. If the parameter does not exist, defaultValue is returned.
|