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

fz_lite_set_parm_dist_obsolete

Description

Sets one of the unique parameters of a distant light. Note: the sun pointer ( FZ_LITE_PARM_DIST_SUN) can only be retrieved, not set. Parameters of the sun position of a distant light are set through fz_lite_set_parm_sun.
This function is now obsolete. Use and instead.

Plugin Prototype

fzrt_error_td fz_lite_set_parm_dist_obsolete(

fzrt_int

windex,

fz_lite_ptr

lite,

fz_lite_parm_dist_enum

which,

fz_type_td *

data )

Parameters

windex [Input]

project window index

lite [Input]

direct light

which [Input]

parameter identifier

data [Input]

parameter data

Returns

Error codes

Availability

5.0.0.0

Example Files

util_lights.fsl

See Also

fz_lite_get_parm_dist, fz_lite_set_parm_sun

Function Set

fz_lite_fset


Defined in

fz_lite_api.h