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

# fz_objt_attr_get_face_decal_mask

Description

Gets the decal mask of a face for the object decal attribute. The mask is a fzrt_int integer, whose bits indicate whether the face uses a particular decal or not. If the bit in the nth position of the fzrt_int is 1, the face uses the nth decal in the attribute. If the bit is 0, the nth decal is not used by the face.

Plugin Prototype

fzrt_error_td fz_objt_attr_get_face_decal_mask(

fzrt_int | windex,
fz_objt_ptr | obj,
fzrt_int | findx,
fzrt_int * | decal_mask )

Parameters

windex [Input]

project window index

obj [Input]

object

findx [Input]

face index

decal_mask [Result]

face decal mask

Availability

5.0.0.0

Example Files

util_attr_decal.fsl

See Also

Function Set

fz_objt_attr_fset

Defined in

fz_objt_decal_api.h