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

# fz_shdr_set_parm_anim_id

Description

Assocatiates a unique id (UUID) with a shader parameter for animation purposes. It allows the animation module to distiguish this shader parameter from other shader parameters. The uuid MUST be different from any other uuid's used. if this function is called for a parameter is can be animated by the user. Otherwise, the parameter cannot be animated.

Plugin Prototype

fzrt_error_td fz_shdr_set_parm_anim_id(

fzrt_int | id,
fzrt_UUID_td | uuid )

Parameters

id [Input]

the user's id, which identifies the shader. This is the same id as the oine passed in to the various fz_shdr_set_xxx_parm functions.

uuid [Input]

The uuid for the parameter.

Returns

Error codes.

Availability

6.0.0.2

Function Set

fz_shdr_fset

Defined in

fz_rzne_shdr_api.h