# Class: morphcontrol

To add morph effects between models or meshes. Morphing is done between vertex normal, position and color info. Activate it on l3dmodels.

## Hierarchy

    o-+ l3dlist
      o-+ morphcontrol

## Methods:

### Method overview:

- activate
- deactivate
- delete
- factor
- meshfrom
- meshtarget
- meshto
- modelfrom
- modelto
- newforceall
- newfullmorph
- newmeshmorph

activate (morphcontrol,l3dmodel)
  returns: ()
  activates the morph effect on the given l3dmodel
deactivate (morphcontrol)
  returns: ()
  deactivates the morph effect
delete (morphcontrol)
  returns: ()
  deactivates and deletes the morphcontrol
factor (morphcontrol,float)
  returns: (float)
  sets or returns the blend factor of the morph
meshfrom (morphcontrol,meshid)
  returns: ()
  sets mesh to morph from
meshtarget (morphcontrol,meshid)
  returns: ()
  sets mesh that will get morphed
meshto (morphcontrol,meshid)
  returns: ()
  sets mesh to morph to
modelfrom (morphcontrol,model)
  returns: ()
  sets model to morph from, if a none-model is passed we will use previous morph results
modelto (morphcontrol,model)
  returns: ()
  sets model to morph to, if a none-model is passed we will use previous morph results
newforceall ()
  returns: (morphcontrol)
  we will always use the vertices in the modeulupdate container.
newfullmorph ()
  returns: (morphcontrol)
  all meshes are affected by the morph
newmeshmorph ()
  returns: (morphcontrol)
  only a single mesh will get morphed

## Inherited Methods:

### From l3dlist