formZ SDK | 4.0 Call Back Reference | Light Representation

# fz_light_rep_cbak_data_iface_tmpl_func

Description

Light Representation dialog function (Required). This function is called whenever a Light is edited. It is expected to display the content of the Light Representation. In the Light Parameters dialog, each Light Representation can fill in additional fuim items. By default, there is "RenderZone" and "Simple". The item id of the parent group is passed into this callabck function. All dialog items created by this callback function must be a child of this item id. Otherwise the items will show up in the wrong place.

Plugin Prototype

fzrt_error_td fz_light_rep_cbak_data_iface_tmpl_func(

fzrt_int | windex,
fz_fuim_tmpl_ptr | fuim_tmpl,
fzrt_int | parent_id,
fzrt_ptr | fuim_data )

Parameters

windex [Input]

project window index

fuim_tmpl [Input]

Pointer to the dialog template.

parent_id [Input]

fuim item id of the parent group.

fuim_data [Input]

Pointer to the Light Representation data.

Returns

Error codes

Availability

7.0.0.0

Function Set

Defined in

fz_view_rep_api.h