Photoluminescent nematic liquid crystalline elastomer with a thermomechanical emission variation function.