private void refreshFocalSize() { float result = ZBufferConversion.metresToZBufferValue(this.sampleCamera, this.focalSize); updateDof focsize = (x) => { x.focalSize = result; }; this.propagateChange(focsize); }
private void refreshFocalDistance01() { float result = ZBufferConversion.metresToZBufferValue(this.sampleCamera, this.focalDistance01); updateDof focdis = (x) => { x.focalDistance01 = result; }; this.propagateChange(focdis); }