public string Get(object target) { ColorInterpolatorAffector affector = target as ColorInterpolatorAffector; // TODO: Common way for writing color. return(StringConverter.ToString(affector.colorAdj[2])); }
public void Set(object target, string val) { ColorInterpolatorAffector affector = target as ColorInterpolatorAffector; affector.timeAdj[5] = StringConverter.ParseFloat(val); }
public string Get(object target) { ColorInterpolatorAffector affector = target as ColorInterpolatorAffector; return(StringConverter.ToString(affector.timeAdj[5])); }
public void Set(object target, string val) { ColorInterpolatorAffector affector = target as ColorInterpolatorAffector; affector.colorAdj[4] = StringConverter.ParseColor(val); }