formZ SDK | 5.0 API Reference | Project | Modeling | Rendering | Render Materials

fz_rmtl_is_used

Description

Check whether a surface style is in use. Surface style may be used by : Objects Faces Lights (Area lights) Layers (Override attribtue) Decals (RenderZone) If any of these entities in a project reference the given surface style TRUE is returned.

Plugin Prototype

fzrt_error_td fz_rmtl_is_used(

fzrt_int

windex,

fz_rmtl_ptr

rmtl_ptr,

fzrt_boolean *

in_use )

Parameters

windex [Input]

project window index

rmtl_ptr [Input]

surface style

in_use [Result]

TRUE if in use, FALSE otherwise

Returns

Error codes

Availability

6.5.7.0

Example Files

util_attr_rmtl.fsl
util_rmtl.fsl

Function Set

fz_rmtl_fset


Defined in

fz_rmtl_api.h