Trigender is a gender identity. If someone is trigendered, they move between or among male, female, and third gender. Gender is not to be confused with sex. Sex, as they say, is between the legs. Gender is between the ears. Gender-neutral pronouns, such as one, ze, sie, hir, and ey may be preferred.
Riley's sex is female, but she is trigendered. Try to keep up.