/**
 * MikuMikuDance
 *
 * @author b2ox
 */
package org.b2ox.pv3d.MikuMikuDance.utils
{
	import org.b2ox.pv3d.*;
	import org.b2ox.pv3d.MikuMikuDance.*;

	public class WinkMotion
	{
		public static function create(pmdc:PMDController):VMDController
		{
			var vmd:VMDController = new VMDController(pmdc);
			
			trace("WinkMotion.create");
			var frame:int = 0;
			vmd.addSkinParam("まばたき", frame++, 0.8);
			vmd.addSkinParam("まばたき", frame++, 0.5);
			vmd.addSkinParam("まばたき", frame, 0);
			frame += 5;
			vmd.addSkinParam("まばたき", frame, 0);
			vmd.fixFrameParams();
			return vmd;
		}

	}
}

