我无法从app更改对象的纹理。当我按下按钮时,我在MainViewController中设置了这样的纹理:currentObject?.thumbImage = UIImage(命名为:“texture”)
class Mirror:VirtualObject {
override init() {
super.init(modelName: "mirror", fileExtension: "scn", thumbImageFilename: "mirror", title: "Mirror")
}
required init?(coder aDecoder: NSCoder) {
fatalError("init(coder:) has not been implemented")
} //Here i have the init method.
请告诉我如何在app中实时更新模型的纹理?