formZ SDK | 5.0 API Reference | Project | Modeling | Rendering | Shaders

# fz_shdr_set_area_sample_parm

Description

This function can only be called inside the set_parameters callback function when implementing a plugin or script shader. It declares the standard area sampling parameter. No further action needs to be taken by a plugin or script shader. formZ will automatically create the check box in the shader dialog and will automatically execute area sampling when the option is selected by the user.

Plugin Prototype

void fz_shdr_set_area_sample_parm(

fzrt_boolean | lval )

Parameters

lval [Input]

The default value. It should be set to FALSE to match other formZ shaders.

Returns

none

Availability

5.0.0.0

Function Set

fz_shdr_fset

Defined in

fz_rzne_shdr_api.h