Java 场景形式';s SceneView setBackgroundResource()可以工作,但模型不能';我没有出现

Java 场景形式';s SceneView setBackgroundResource()可以工作,但模型不能';我没有出现,java,android,background,sceneform,sceneview,Java,Android,Background,Sceneform,Sceneview,具有可绘制图像背景: 带彩色背景: 我面临的问题是当我尝试使用 mSceneView.setBackgroundResource(R.drawable.restaurantblurred) 它不显示我的TransformableNode模型,但如果我将其用作颜色 mSceneView.setBackgroundResource(R.color.colorPrimary) 或 它起作用了 因为SceneView不具备透明背景,所以我无法在它下面放置一层,并将其背景设置为我想要的图像。我想不

具有可绘制图像背景:

带彩色背景:

我面临的问题是当我尝试使用

mSceneView.setBackgroundResource(R.drawable.restaurantblurred)
它不显示我的
TransformableNode
模型,但如果我将其用作颜色

mSceneView.setBackgroundResource(R.color.colorPrimary)

它起作用了

因为SceneView不具备透明背景,所以我无法在它下面放置一层,并将其背景设置为我想要的图像。我想不出任何其他解决这个问题的方法。。。 可能SceneForm API中存在一个潜在错误,我无法解决,因为它已停止使用

可能是这个问题:我将建议与问题中的一个注释相同:将一个可渲染的视图放置在稍靠前的位置,其中包含图像和模型
mSceneView.setBackgroundColor(getColor(R.color.colorPrimary))