Effect of heat treatment mechanism on NaYF4 oxyfluoride glass-ceramics. The two-step heating process obtain the different size nanocrystals in the same piece of glass. The UC luminescence intensity and color variation can be adjusted by heat treatment mechanism.