nS_ImageLightAffect(image%, bAffectedByLight%, [bUseVertexLighting%=False]) | Function |
Description: Sets the light affect of an image | |
Parameters: image% = Image handle bAffectedByLight% = TRUE to make it light affected bUseVertexLighting% [Default value = False] = TRUE to use vertex lighting instead of the whole image at once. Image must be in FX nS_FX_VERTEXCOLOR. Also in nS_FX_FORCEALPHABLEND for the alpha parameter to work. |
|
Return value: None |