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