(new in Rev4.70)
MQMorphManager class accesses to the MorphTarget plugin (MorphTarget.dll).
MQMorphManager::MQMorphManager(MQBasePlugin *plugin, MQDocument doc);
It is a constructor.
static DWORD MQMorphManager::GetProductID();
It returns a product ID of BoneDeformer plugin.
static DWORD MQMorphManager::GetPluginID();
It returns a plugin ID of BoneDeformer plugin.
int MQMorphManager::GetBaseObjectNum();
It returns a number of base objects.
int MQMorphManager::EnumBaseObjects(std::vector<MQObject>& base_objs);
It enumeratas base objects.
int MQMorphManager::GetTargetObjects(MQObject base, std::vector
It returns target objects binded to the base object.
int MQMorphManager::GetTargetFlags(MQObject base, TargetFlags& flags);
(new in Rev4.87)
Gets the morph target (position, normal, texture UV coordinates, vertex color) of the base object.
bool MQMorphManager::GetTargetType(MQObject base, MQObject target, TargetType& type);
It returns a type of the target object.
bool MQMorphManager::BindTargetObject(MQObject base, MQObject target);
It binds a target object to the base object.
int MQMorphManager::SetTargetFlags(MQObject base, const TargetFlags& flags);
(new in Rev4.87)
Set the morph target (position, normal, texture UV coordinates, vertex color) of the base object.
bool MQMorphManager::SetTargetType(MQObject base, MQObject target, TargetType type);
It sets a type of the target object.
bool MQMorphManager::ApplyDeformation(MQObject base, MQObject proxy);
It applies a deformation of the base object to the proxy object.
bool MQMorphManager::SetPMDMode(bool flag);
It sets an editting mode for PMD.
Replaced with SetOperationMode() in Rev4.8.7.
OPERATION_MODE MQMorphManager::GetOperationMode();
(new in Rev4.87)
Gets the edit mode for PMD/VRM.
bool MQMorphManager::SetOperationMode(OPERATION_MODE mode);
(new in Rev4.87)
Sets the edit mode for PMD/VRM.
UINT MQMorphManager::Preset_Add(const PRESET& expression);
(new in Rev4.87)
Add a preset.
bool MQMorphManager::Preset_Delete(UINT id);
(new in Rev4.87)
Delete a preset.
bool MQMorphManager::Preset_Enumerate(std::vector<UINT>& ids);
(new in Rev4.87)
Enumerate presets.
bool MQMorphManager::Preset_Get(UINT id, PRESET& expression);
(new in Rev4.87)
Get a preset.
bool MQMorphManager::Preset_Set(UINT id, const PRESET& expression);
(new in Rev4.87)
Set a preset.
bool MQMorphManager::Preset_GetVRMExpression(UINT id, VRM_EXPRESSION& expression);
(new in Rev4.87)
Get information about VRM facial expressions in a preset.
bool MQMorphManager::Preset_SetVRMExpression(UINT id, const VRM_EXPRESSION& expression);
(new in Rev4.87)
Set information about VRM facial expressions in a preset.