formZ SDK | 5.0 API Reference | Project | Modeling | Attributes
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, |
obj, | |
fzrt_int | decal_indx, |
which, | |
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
See Also
fz_objt_attr_get_objt_decal_parm
Function Set
Defined in