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

# fz_objt_attr_get_face_tctl_indx

Description

Gets the texture group index of a face. If the object does not have a texture map control attribute an error is returned. if -1 is returned, the face uses the object level texture group. Otherwise, the face uses the texture group identified by the index.

Plugin Prototype

fzrt_error_td fz_objt_attr_get_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 [Result]

texture group index

Availability

5.0.0.0

Example Files

util_attr_tctl.fsl

See Also

Function Set

fz_objt_attr_fset

Defined in

fz_objt_tctl_api.h