The internal environmental factor that affects the heredity of a person is hormones.
Heredity can be defined as the process of the passing of the biological traits from the parents to their offspring. The hormones affect the different process of the body. They are known as the chemical messengers which affect the functioning of the body and the appearance of the inherited traits.
Hence, the answer is 'hormones'.