piemonte / Poly

🦕 Unofficial Google Poly SDK in Swift – search, discover, and download 3D models and scenes

Home Page:http://poly.google.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot choose format for Poly.download

skpinelabs opened this issue · comments

Poly.download(asset: [...]) just returns the first defined format for the asset. It should have a parameter to choose the asset type, as usually .gltf is returned which is not that usable in IOS.

I made a draft PR, which works for me in the IOS app I'm working on: #4

I'd be happy to get feedback from you to make it clean and mergeable to master.

@skpinelabs thanks again for the PR. i made a couple minor changes to your update on master, ie. adopted a Format type. 👍