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

# fz_objt_attr_get_objt_rmsh

Description

Gets the radiosity meshing attribute of an object. The fz_attr_rmsh_ptr rmsh parameter must be created and deleted by the calling function. For example :
fz_objt_attr_rmsh_init(windex,&rmsh); fz_objt_attr_get_objt_rmsh(windex,obj,&has_rmsh,rmsh); fz_objt_attr_rmsh_finit(windex,&rmsh);
Note, that an object may not have a radiosity meshing attribute, in which case the has_rmsh parameter will be returned as FALSE.

Plugin Prototype

fzrt_error_td fz_objt_attr_get_objt_rmsh(

fzrt_int | windex,
fz_objt_ptr | obj,
fzrt_boolean * | has_rmsh,
fz_attr_rmsh_ptr | rmsh_ptr )

Parameters

windex [Input]

project window index

obj [Input]

object

has_rmsh [Result, Optional]

TRUE if the object has a radiosity meshing attribute. FALSE otherwise.

rmsh_ptr [Result, Optional]

radiosity meshing attribute

Returns

Error codes

Availability

5.0.0.0

Example Files

util_attr_rmsh.fsl

See Also

Function Set

fz_objt_attr_fset

Defined in

fz_objt_attr_api.h