formZ SDK | 5.0 API Reference | Project | Modeling | Attributes

# fz_objt_attr_set_objt_decal_parm

Description

Set a parameter of a decal group of the object decal attribute. The decal group is identified by decal_indx.
When assigning the name parameter, no checks are made whether the decal group name is unique. It is up to the calling function to assure this. The name cannot be larger than 32 characters.
When setting the origin parameter and the decal group uses parametric mapping, the x and y value of the fz_xyz_td passed in must be in the range of 0.0 to 1.0.
When setting the rotation parameter and the decal group uses parametric mapping, the rotation values are ignored.
When setting the map type parameter, the following rules apply :
Only nurbz and analytic primitives can be assigned the parametric mapping type.

Plugin Prototype

fzrt_error_td fz_objt_attr_set_objt_decal_parm(

fzrt_int | windex,
fz_objt_ptr | obj,
fzrt_int | decal_indx,
fz_attr_decal_parm_enum | which,
fz_type_td * | data )

Parameters

windex [Input]

project window index

obj [Input]

object

decal_indx [Input]

decal index

which [Input]

parameter identifier

data [Input]

parameter data

Availability

5.0.0.0

Example Files

util_attr_decal.fsl

See Also

fz_objt_attr_get_objt_decal_parm

Function Set

fz_objt_attr_fset

Defined in

fz_objt_decal_api.h