if this is the transfer of heat by direst contact its radiation, but if the material for example, fire, that heated a large air mass, for example, a house, the fire would heat up the air being convection, but if the martial for example, fire, heats your had when your hand is close to the fire, its radiation.