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

# fz_lite_get_sun_legacy

Description

Gets the sun light for a project that originated in a version prior to version 7 and bonzai3d. If the project is newer, NULL will be returned.

Plugin Prototype

fzrt_error_td fz_lite_get_sun_legacy(

fzrt_int | windex,
fz_lite_ptr * | sun_lite )

Parameters

windex [Input]

project window index

sun_lite [Result]

former sun light

Returns

Error codes

Availability

7.0.0.0

Example Files

util_lights.fsl

Function Set

fz_lite_fset

Defined in

fz_lite_api.h