Ejemplo n.º 1
0
        public EffectFormBuilder SetMotionForm(MotionForm.MotionType motionType, int motionDistance)
        {
            effectForm.FormType = EffectForm.EffectFormType.Motion;
            MotionForm motionForm = new MotionForm();

            motionForm.SetType(motionType);
            motionForm.SetDistance(motionDistance);
            effectForm.SetMotionForm(motionForm);
            return(this);
        }
Ejemplo n.º 2
0
 public static T SetType <T>(this T entity, MotionForm.MotionType value)
     where T : MotionForm
 {
     entity.SetField("type", value);
     return(entity);
 }