formZ SDK | 4.0 Call Back Reference | Light Representation

# fz_light_rep_cbak_data_are_equal

Description

Light Representation compare function (Optional). This function is called whenever two Lights are compared to be equal.

Plugin Prototype

fzrt_error_td fz_light_rep_cbak_data_are_equal(

fzrt_int | windex1,
fz_lite_ptr | lite1,
void * | light_rep_data1,
fzrt_int | windex2,
fz_lite_ptr | lite2,
void * | light_rep_data2,
fzrt_boolean * | are_equal )

Parameters

windex1 [Input]

project window index of light 1.

lite1 [Input]

light 1.

light_rep_data1 [Input]

The data representation of Light 1.

windex2 [Input]

project window index of light 2.

lite2 [Input]

light 2.

light_rep_data2 [Input]

The data representation of Light 2.

are_equal [Result]

TRUE, if they are equal, FALSE otherwise.

Returns

Error codes

Availability

7.0.0.0

Function Set

fz_light_rep_cbak_fset

Defined in

fz_view_rep_api.h