Object ProLight

Function ProLightSourcesGet


Description
Retrieves the light information associated with the specified window in model space.
Replacement in Object TOOLKIT: wfcWWindow::GetLightInstructions
Synopsis
#include <ProSurface.h>
ProErrorProLightSourcesGet(
int window_id
/* (In)
The identifier of the Creo Parametric window. Use PRO_VALUE_UNUSED (or a value less than 0)for the current window.
*/
ProLightInfo** light_info
/* (Out)
ProArray of structures of light properties. The function allocates memory for this argument. To free it, call the function ProArrayFree.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSThe argument is invalid.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. User Interface: Basic Graphics: Setting Light Sources