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

# fz_lite_transform

Description

Transforms a light by the given matrix. Lights which belong to a symbol light group cannot be transformed with this function. Transform the owning symbol instance to achieve this ().

Plugin Prototype

fzrt_error_td fz_lite_transform(

fzrt_int | windex,
fz_lite_ptr | lite,
fz_mat4x4_td * | mat )

Parameters

windex [Input]

project window index

lite [Input]

light

mat [Input]

matrix to transform light by

Returns

Error codes

Availability

5.0.0.0

Example Files

util_lights.fsl

Function Set

fz_lite_fset

Defined in

fz_lite_api.h