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

# fz_lite_get_prev_light

Description

Given a light pointer, get the previous light pointer in the windex. If lite_in is passed as NULL, the last light in the windex is returned.

Plugin Prototype

fzrt_error_td fz_lite_get_prev_light(

fzrt_int | windex,
fz_lite_ptr | lite_in,
fz_lite_ptr * | lite_prev )

Parameters

windex [Input]

project window index

lite_in [Input]

light

lite_prev [Result]

previous light

Returns

Error codes

Availability

5.0.0.0

Example Files

util_lights.fsl

See Also

fz_lite_get_next_light

Function Set

fz_lite_fset

Defined in

fz_lite_api.h