예제 #1
0
 private PreciseColor ConvertColor(SFColor color)
 {
     return new PreciseColor(color.Red, color.Green, color.Blue);
 }
예제 #2
0
 public void visit(SFColor field) {
     field.Red = context.ReadFloat();
     field.Green = context.ReadFloat();
     field.Blue = context.ReadFloat();
 }
예제 #3
0
 public void visit(SFColor field) {
     throw new NotImplementedException();
 }
예제 #4
0
 public void visit(MFColor field) {
     field.clearValues();
     ParseMField((subcontext) => {
         var child = new SFColor();
         this.visit(child);
         field.AppendValue(child);
     });
 }