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

# fz_objt_attr_set_face_tctl_indx

Description

Sets the texture group index of a face. If the object does not have a texture map control attribute an error is returned. The index must be greater than or equal to -1 and less than the # of texture groups in the texture map control attribute. If passed as -1, the face will use the object level texture group. Otherwise it will use the texture group identified by the index.

Plugin Prototype

fzrt_error_td fz_objt_attr_set_face_tctl_indx(

fzrt_int | windex,
fz_objt_ptr | obj,
fzrt_int | findx,
fzrt_int | fgrup_indx )

Parameters

windex [Input]

project window index

obj [Input]

object

findx [Input]

face index

fgrup_indx [Input]

texture group index

Availability

5.0.0.0

Example Files

util_attr_tctl.fsl

See Also

fz_objt_attr_get_face_tctl_indx

Function Set

fz_objt_attr_fset

Defined in

fz_objt_tctl_api.h