This method of the Direct3dRM Class creates a new light source with the given type and color.
public Direct3dRMLight createLight(int t, int c);
Returns the Direct3dRMLight object if successful; otherwise, null.
t | One value of the D3DRMLIGHT_ type. |
c | Color of the light. |