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

fz_lite_set_parm_common_obsolete

Description

Sets one of the common parameters of a light. Note: not all common parameters are used by all lights. In this case the parameter is still set, but has no effect on the behavior of the light.
When setting the light type to an area or line light, a default area or line object is created. The default area object is a 1x1x1 unit cube centered at the light origin. The default line light is a 1 unit length line, centered at the light origin and extending in the x direction.
This function is now obsolete. Use and instead.

Plugin Prototype

fzrt_error_td fz_lite_set_parm_common_obsolete(

fzrt_int

windex,

fz_lite_ptr

lite,

fz_lite_parm_common_enum

which,

fz_type_td *

data )

Parameters

windex [Input]

project window index

lite [Input]

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_common

Function Set

fz_lite_fset


Defined in

fz_lite_api.h