Visit Gigasoft's Web Site
 ProEssentials v9 Help

DxSetLight Method

Scope 3D Scientific Graph Interfaces: Pe3do

 

DxSetLight(nLight As Integer, X As Single, Y As Single, Z As Single)

 

Parameter

Description

nLight

For now, set to zero, the future will likely add options for 1,2, for additional lights.

X

X 3D coordinate for light.

Y

Y 3D coordinate for light.

Z

Z 3D coordinate for light.

 

The DxSetLight function sets the light location for the 3D scene when RenderEngine is set to Direct3D. The light always points to center of scene.

  

Comments

See Also: DxGetLight, OCX Methods, PEP_struct3DXLIGHT0