API 설명서 > Miscellaneous > Object ProLight > Function ProLightSourcesSet
Function ProLightSourcesSet
Description
Sets the light information associated with the specified window in model space.
Replacement in Object TOOLKIT:
Synopsis
#include <ProSurface.h>
ProLightSourcesSet
(
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
/* (In)
ProArray of structures of light properties. Since the number of user defined lights cannot exceed 5, this array must have no more than 5 elements.
*/
)
Returns
The function succeeded.
The argument is invalid.
This type of light is not allowed to be set. (PRO_TK_LIGHT_AMBIENT, PRO_TK_LIGHT_HDRI).
light_info has more than 5 elements.
User Guide References
도움이 되셨나요?