Package org.vrspace.server.obj
Class GltfModel
java.lang.Object
org.vrspace.server.obj.Entity
org.vrspace.server.obj.Embedded
org.vrspace.server.obj.Content
org.vrspace.server.obj.GltfModel
A 3D Model in GLTF format. Adds unique id, uri and other properties to
Content class. Based on sketchfab models.
- Author:
- joe
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getMesh()
getName()
getUid()
getUri()
int
hashCode()
void
void
setCategories
(List<ContentCategory> categories) void
setDescription
(String description) void
setLicense
(String license) void
void
void
void
toString()
Methods inherited from class org.vrspace.server.obj.Content
dispose, getContentType, getFileName, getFolder, getLength, setContentType, setFileName, setFolder, setLength
Methods inherited from class org.vrspace.server.obj.Entity
getObjectId, setId
-
Constructor Details
-
GltfModel
public GltfModel()
-
-
Method Details
-
mainCategory
-
getUid
-
getUri
-
getName
-
getDescription
-
getLicense
-
getAuthor
-
getCategories
-
getMesh
-
setUid
-
setUri
-
setName
-
setDescription
-
setLicense
-
setAuthor
-
setCategories
-
setMesh
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-