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

fz_lite_set_sun

Description

Makes a given light the sun light. Note: The light must be a direct light.

Plugin Prototype

fzrt_error_td fz_lite_set_sun(

fzrt_int

windex,

fz_lite_ptr

sun_lite )

Parameters

windex [Input]

project window index

sun_lite [Input]

light to make the sun light

Returns

Error codes

Availability

5.0.0.0

Example Files

util_lights.fsl

See Also

fz_lite_get_sun

Function Set

fz_lite_fset


Defined in

fz_lite_api.h