Method | Description | |
---|---|---|
AddSurfaceData ( LuaState luaState, string properties ) : void |
Loads the given surface properties as a string, follows the file format.
|
|
GetAirDensity ( LuaState luaState ) : double |
Returns the air density.
|
|
SetAirDensity ( LuaState luaState, double airDensity ) : void |
Sets the air density.
|
public static AddSurfaceData ( LuaState luaState, string properties ) : void | ||
luaState | LuaState | Pointer to lua_State struct. |
properties | string | The properties to add. |
return | void |
public static GetAirDensity ( LuaState luaState ) : double | ||
luaState | LuaState | Pointer to lua_State struct. |
return | double |
public static SetAirDensity ( LuaState luaState, double airDensity ) : void | ||
luaState | LuaState | Pointer to lua_State struct. |
airDensity | double | The new air density. |
return | void |