Class GltfLoader.GltfModel

java.lang.Object
com.codename1.gpu.GltfLoader.GltfModel
Enclosing class:
GltfLoader

public static final class GltfLoader.GltfModel extends Object
A loaded glTF model: its geometry plus the base-color texture extracted from the model's first material, if any. Returned by loadModel.
  • Method Details

    • getMesh

      public Mesh getMesh()
      The model geometry.
    • getBaseColorTexture

      public Texture getBaseColorTexture()
      The base-color texture, or null when the model has none.