Animating SCNCamera.fStop with property key path doesn't work, only inside implicit SCNTransaction

后端 未结 0 1872
梦如初夏
梦如初夏 2021-02-08 20:56

This code strangely doesn\'t animate the fStop:

cameraNode.camera!.wantsDepthOfField = true
cameraNode.camera!.focusDistance = 2

let animation = CABasicAnimation         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题