formZ SDK | 4.0 Call Back Reference | Object Attributes

# fz_attr_cbak_tform

Description

Custom attribute transformation function (Optional). This function is called whenever an attribute is transformed. Any dimensional fields of the attribute should be scaled by the scale portion of the matrix. Any 3d location (xyz) should be transformed by the matrix. The scale part of the matrix can be retrieved by the math API call fz_math_4x4_mat_to_trl_scl_rot.

Plugin Prototype

fzrt_error_td fz_attr_cbak_tform(

fzrt_int | windex,
void * | data,
fz_mat4x4_td * | mat )

Parameters

windex [Input]

project window index

data [Input]

attribute data.

mat [Input]

transformation matrix.

Returns

Error codes

Availability

5.0.0.0

Function Set

fz_attr_cbak_fset

Defined in

fz_objt_attr_api.h