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

# fz_objt_attr_add_objt_tctl_fgrp

Description

Adds a new texture group to the texture map control attribute of an object. If the object does not have a texture map control attribute an error is returned. A new texture map control attribute can be created with fz_objt_attr_create_objt_tctl.

Plugin Prototype

fzrt_error_td fz_objt_attr_add_objt_tctl_fgrp(

fzrt_int | windex,
fz_objt_ptr | obj,
fzrt_int * | fgrp_index )

Parameters

windex [Input]

project window index

obj [Input]

object

fgrp_index [Result, Optional]

The index of the new texture group.

Availability

5.0.0.0

Example Files

util_attr_tctl.fsl

See Also

, fz_objt_attr_create_objt_tctl,

Function Set

fz_objt_attr_fset

Defined in

fz_objt_tctl_api.h