Enables RNA polymerase II cis-regulatory region sequence-specific DNA binding activity. Involved in several processes, including defense response to Gram-negative bacterium; positive regulation of transcription by RNA polymerase II; and spermatogenesis. Located in nucleus. Part of chromatin. Expressed in several structures, including hypodermis; oocyte; spermatocyte; tail; and vulval precursor cell. Human ortholog(s) of this gene implicated in idiopathic generalized epilepsy 15 and immunodeficiency 42. Is an ortholog of human RORA (RAR related orphan receptor A); RORB (RAR related orphan receptor B); and RORC (RAR related orphan receptor C).