Пример #1
0
 protected override void SetValue(GroupCollection groups, out CommandError error)
 {
     error     = null;
     _Name     = groups[1].Value;
     _Position = StringDefine.ParseVector3(groups[2].Value);
     _Duration = StringDefine.ParseFloat(groups[3].Value, 0.0f);
 }
Пример #2
0
 protected override void SetValue(GroupCollection groups, out CommandError error)
 {
     error           = null;
     _Name           = groups[1].Value;
     _MotionName     = groups[2].Value;
     _MotionLoop     = StringDefine.ParseBoolean(groups[3].Value, false);
     _ExpressionName = groups[4].Value;
     _Position       = StringDefine.ParseVector3(groups[5].Value);
     _Duration       = StringDefine.ParseFloat(groups[6].Value, 0.0f);
 }
Пример #3
0
 protected override void SetValue(GroupCollection groups, out CommandError error)
 {
     error     = null;
     _Duration = StringDefine.ParseFloat(groups[1].Value);
 }
Пример #4
0
 protected override void SetValue(GroupCollection groups, out CommandError error)
 {
     error     = null;
     _ToLeft   = (groups[1].Value == "left");
     _Duration = StringDefine.ParseFloat(groups[2].Value, Define._foregroundCoverDefaultDuration);
 }