formZ SDK | 5.0 API Reference | Project | Modeling | Lights Manager
Description
Deletes a light. Note: the light cannot be deleted if it is the only light in the windex or if the light is the sun light. If the light is a symbol light, it also cannot be deleted. The whole light group which is associated with the symbol instance must be deleted via the call light_delete_lite_group.
Plugin Prototype
fzrt_error_td fz_lite_delete(
fzrt_int | windex, |
lite ) |
Parameters
windex [Input]
project window index
lite [Input]
light to delete
Returns
Error codes
Availability
5.0.0.0
Example Files
Function Set
Defined in