Package org.oscim.model
Enum Class VtmModels
- All Implemented Interfaces:
Serializable,Comparable<VtmModels>,Constable
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]
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
-
Enum Constant Details
-
CAR
-
MEMORIAL
-
STREETLAMP
-
TREE
-
TREE_ASH
-
TREE_FIR
-
TREE_OAK
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getPath
Get relative path to models. Assets path isn't included! -
getModelAsStream
-