This method of the Direct3dRM Class creates a new light source with the given type and color.
public Direct3dRMLight createLightRGB(int lt, float vred, float vgreen, float vblue);
Returns the Direct3dRMLight object if successful; otherwise, null.
lt | One value of D3DRMLIGHT_ type. |
vred | The red component of the color. |
vgreen | The green component of the color. |
vblue | The blue component of the color. |