示例#1
0
        private void refreshFocalSize()
        {
            float     result  = ZBufferConversion.metresToZBufferValue(this.sampleCamera, this.focalSize);
            updateDof focsize = (x) => { x.focalSize = result; };

            this.propagateChange(focsize);
        }
示例#2
0
        private void refreshFocalDistance01()
        {
            float     result = ZBufferConversion.metresToZBufferValue(this.sampleCamera, this.focalDistance01);
            updateDof focdis = (x) => { x.focalDistance01 = result; };

            this.propagateChange(focdis);
        }