public override void Copy(AbstractMotionFilter filter) { if (filter is LerpMotionFilter f) { interpolationFactor = f.interpolationFactor; } }
public override void Copy(AbstractMotionFilter filter) { if (filter is KalmanMotionFilter f) { componentCount = f.componentCount; measurementNoise = f.measurementNoise; processNoiseScale = f.processNoiseScale; } }
public abstract void Copy(AbstractMotionFilter filter);