formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | Morph Object
Description
Creates a Morph object. This function constructs a Morph object interpolating a shape between a source and a destination object. The factor argument determines how far to interpolate. Values less than 0 and greater than 1 are acceptable.
Plugin Prototype
fzrt_error_td fz_objt_cnstr_morf(
fzrt_int | windex, |
src_obj, | |
dst_obj, | |
double | factor, |
place_at_source, | |
ignore_orientation, | |
refn_opts, | |
obj ) |
Parameters
windex [Input]
Project window index
src_obj [Input]
Source object
dst_obj [Input]
Destination object
factor [Input]
Morph factor. 0.0 = shape of source, 1.0 = shape of destination
place_at_source [Input]
TRUE, to place morphed object at the origin of the source object. FALSE to move the morphed object between source and destination, according to morph percentage.
ignore_orientation [Input]
TRUE, to morph directly between source and destination object. FALSE to align source and destination objects by their axes first and then morph
refn_opts [Input, Optional]
Display resolution
obj [Result]
New object
Returns
Error codes
Availability
6.0.0.2
Example Files
See Also
fz_objt_edit_morf_parm_get, fz_objt_edit_morf_parm_set
Function Set
Defined in