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

# fz_lite_get_lrep_index

Description

Given the uuid of a light representation, get its run time index. The run time index allows for faster access of the data of the light when using the api fz_lite_get_lrep_data. Note, that this index is guaranteed to be valid only for a single run time session of formZ. That is, this index should not be saved to a file and used in a subsequent session.

Plugin Prototype

fzrt_error_td fz_lite_get_lrep_index(

fzrt_UUID_td | lrep_uuid,
fzrt_int * | lrep_indx )

Parameters

lrep_uuid [Input]

the uuid of the light representation.

lrep_indx [Result]

the run time index of the light representation.

Returns

Error codes

Availability

7.0.0.0

See Also

fz_lite_get_lrep_data

Function Set

fz_lite_fset

Defined in

fz_lite_api.h