Visit Gigasoft's Web Site
 ProEssentials v9 Help

DxGetLight Method

*Within client side VBScript within a web page, use DxGetLightEx

 

Scope 3D Scientific Graph Interfaces: Pe3do

 

DxGetLight(nLight As Integer, pX As Single, pY As Single, pZ As Single)

 

Parameter

Description

nLight

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

pX

Variable to store X coordinate.

pY

Variable to store Y coordinate.

pZ

Variable to store Z coordinate.

 

This method is used to retrieve the coordinates for the 3D Light when RenderEngine = Direct3D

  

Comments

See Also: DxSetLight, OCX Methods, PEP_struct3DXLIGHT0.

 

Visual Basic 6 Example

Dim pX As Single

Dim pY As Single

Dim pZ As Single

Pe3do1.DxGetLight 0, pX, pY, pZ