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

# fz_shdr_set_scale_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 scale parameter. No further action needs to be taken by a plugin or script shader. formZ will automatically create the scale title and text field. formZ will also automatically scale the pattern by the scale factor the user enters in the shader dialog.

Plugin Prototype

void fz_shdr_set_scale_parm(

double | scale )

Parameters

scale [Input]

The default scale factor. It should be set to 1.0 to match other formZ shaders.

Returns

none

Availability

5.0.0.0

Function Set

fz_shdr_fset

Defined in

fz_rzne_shdr_api.h