Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatible with lower version issues #524

Open
Liaoboo opened this issue Jun 12, 2024 · 1 comment
Open

Compatible with lower version issues #524

Liaoboo opened this issue Jun 12, 2024 · 1 comment

Comments

@Liaoboo
Copy link

Liaoboo commented Jun 12, 2024

hi,2 questions:
1、Can lower versions of Android be supported, such as gradle version 4.x, Target API Level 30;
2、how to load the GLTF type.

@KvRae
Copy link

KvRae commented Jun 12, 2024

  • For the lower version just give it a try ;)

  • To load a GLTF you can :

val engine = rememberEngine()
val modelLoader = rememberModelLoader(engine)

Scene(
    engine = engine,
    modelLoader = modelLoader,
    childNodes = rememberNodes {
        add(
               ModelNode( modelLoader.createModelInstance("model.gltf") )
           )
    },
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants