formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | Morph Object
Description
Parameter identifiers for a parametric morph object. Used for the "which" argument of fz_objt_edit_morf_parm_get, fz_objt_edit_morf_parm_set. After creating a morph object, the source and destination objects can be retrieved using the fz_objt_edit_morf_parm_get API function. Note, that a copy of the source or destination is made and passed back. It is the responsibility of the calling function to delete this new object afterwards, using fz_objt_edit_delete_objt.
enum fz_objt_morf_parm_enum {
FZ_OBJT_MORF_PARM_PCENT,
FZ_OBJT_MORF_PARM_IGNORE_ORIENT,
FZ_OBJT_MORF_PARM_PLACE_AT_SOURCE,
FZ_OBJT_MORF_PARM_SRC_OBJ,
FZ_OBJT_MORF_PARM_DST_OBJ };
Members
FZ_OBJT_MORF_PARM_PCENT
Editing - Morph percentage.
Type: double
Default Value: 0.5
FZ_OBJT_MORF_PARM_IGNORE_ORIENT
Editing - TRUE, to morph directly between source and destination object. FALSE to align source and destination objects by their axes first and then morph.
Type: fzrt_boolean
FZ_OBJT_MORF_PARM_PLACE_AT_SOURCE
Editing - 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.
Type: fzrt_boolean
FZ_OBJT_MORF_PARM_SRC_OBJ
Editing - Morph source object.
Type: fz_objt_ptr
FZ_OBJT_MORF_PARM_DST_OBJ
Editing - Morph destination object.
Type: fz_objt_ptr
Availability
6.0.0.2
See Also
fz_objt_edit_morf_parm_get, fz_objt_edit_morf_parm_set
Defined in