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

# fz_lite_copy_to_windex

Description

Creates a copy of a given light in a given windex. This api function makes it possible to copy a light from one project to another, if source and destiantion windex represent different projects. If source and destiantion windex are from the same project, fz_lite_copy_to_windex performs the same task as

Plugin Prototype

fzrt_error_td fz_lite_copy_to_windex(

fzrt_int | src_windex,
fz_lite_ptr | src_lite,
fzrt_int | dst_windex,
fz_lite_ptr * | dst_lite )

Parameters

src_windex [Input]

project window index of source light

src_lite [Input]

source light

dst_windex [Input]

project window index of new light

dst_lite [Result]

new light

Returns

Error codes

Availability

6.5.5.0

Example Files

util_lights.fsl

See Also

Function Set

fz_lite_fset

Defined in

fz_lite_api.h