Group Group Group Group Group Group Group Group Group

Apply gif to SCNPlane

Right now my swift code creates a scnplane with a image called we.jpg. What I would like to is replace we.jpg with a gif call ball.gif. materail.diffuse.conents is where the uiimage is attached to the scnplane.

let planeGeometry = SCNPlane(width: 0.2, height: 0.35)
    let material = SCNMaterial()
    material.diffuse.contents = UIImage(named: "we.jpg")
    planeGeometry.materials = [material]

@timswift Do you still have issues with this?