formZ SDK | 5.0 API Reference | Project | Modeling | Lights Manager

# fz_lite_delete

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,
fz_lite_ptr | lite )

Parameters

windex [Input]

project window index

lite [Input]

light to delete

Returns

Error codes

Availability

5.0.0.0

Example Files

util_lights.fsl

Function Set

fz_lite_fset

Defined in

fz_lite_api.h