formZ SDK | 4.0 Call Back Reference | Object Attributes
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, |
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
Defined in