SceneKit - Crossfade material property textures

后端 未结 2 551
我寻月下人不归
我寻月下人不归 2021-02-08 21:33

The documentation for SCNMaterialProperty.contents states that it is an animatable property and indeed I can perform a crossfade between two colors. However I’m unable to crossf

2条回答
  •  时光说笑
    2021-02-08 22:21

    Your animation isn't happening because "contents" property is animatable only when set to a color not for image. You can read it on the apple's documentation about contents property.

提交回复
热议问题