Microsoft SDK for Java

createLight

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

Syntax

public Direct3dRMLight createLight(int t, int c);

Return Value

Returns the Direct3dRMLight object if successful; otherwise, null.

Parameters

t One value of the D3DRMLIGHT_ type.
c Color of the light.

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