Enum Class VtmModels

java.lang.Object
java.lang.Enum<VtmModels>
org.oscim.model.VtmModels
All Implemented Interfaces:
Serializable, Comparable<VtmModels>, Constable

public enum VtmModels extends Enum<VtmModels>
Enumeration of all internal VTM models.

Generate own models: If using Blender for new models, start fresh project delete camera and light source, keep blender render engine. Export as .obj/fbx Use Fbx converter [https://github.com/libgdx/fbx-conv] and Java GUI [https://github.com/ASneakyFox/libgdx-fbxconv-gui] to convert to g3d. .obj is supported, too, but has troubles with textures and materials. More: [https://github.com/libgdx/libgdx/wiki/Importing-Blender-models-in-LibGDX]

  • Enum Constant Details

    • CAR

      public static final VtmModels CAR
    • MEMORIAL

      public static final VtmModels MEMORIAL
    • STREETLAMP

      public static final VtmModels STREETLAMP
    • TREE

      public static final VtmModels TREE
    • TREE_ASH

      public static final VtmModels TREE_ASH
    • TREE_FIR

      public static final VtmModels TREE_FIR
    • TREE_OAK

      public static final VtmModels TREE_OAK
  • Method Details

    • values

      public static VtmModels[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static VtmModels valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getPath

      public String getPath()
      Get relative path to models. Assets path isn't included!
    • getModelAsStream

      public InputStream getModelAsStream()