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

# fz_lite_dist_set_dir_from_sun

Description

Sets a distant light's direction from its sun parameters. Note: the sun parameters are set with fz_lite_set_parm_sun.

Plugin Prototype

fzrt_error_td fz_lite_dist_set_dir_from_sun(

fzrt_int | windex,
fz_lite_ptr | lite )

Parameters

windex [Input]

project window index

lite [Input]

light

Returns

Error codes

Availability

5.0.0.0

Example Files

util_lights.fsl

Function Set

fz_lite_fset

Defined in

fz_lite_api.h