lua/wrappers/gfx/lua_asset.cpp
/** 
	 * Returns the name of this asset that was defined when the asset was created.
	 *
	 * @returns string The name of this asset.
	 */
Returns the name of this asset that was defined when the asset was created.
@returns string The name of this asset.
Returns the name of this asset that was defined when the asset was created . @returns string The name of this asset .
int Asset_name(lua_State *lua)
	{
		Asset *asset = castUData<Asset>(lua, 1);
		if (asset)
		{
			lua_pushstring(lua, asset->getName());
			return 1;
		}
		return LuaState::expectedContext(lua, "name", "am.asset");
	}
int Asset_name ( lua_State * lua ) { Asset * asset = castUData < Asset > ( lua , 1 ) ; if ( asset ) { lua_pushstring ( lua , asset -> getName ( ) ) ; return 1 ; } return LuaState :: expectedContext ( lua , " " , " " ) ; }
Returns the name of this asset that was defined when the asset was created.
Returns the name of this asset that was defined when the asset was created .