Microsoft SDK for Java

createLightRGB

This method of the Direct3dRM Class creates a new light source with the given type and color.

Syntax

public Direct3dRMLight createLightRGB(int lt, float vred, float vgreen, float vblue);

Return Value

Returns the Direct3dRMLight object if successful; otherwise, null.

Parameters

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.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.