This method of the Direct3dRMLight Class changes the light type.
public void setType(int t);
getType