Package org.vrspace.server.obj
Class GltfModel
- java.lang.Object
-
- org.vrspace.server.obj.Entity
-
- org.vrspace.server.obj.Content
-
- org.vrspace.server.obj.GltfModel
-
public class GltfModel extends Content
A 3D Model in GLTF format. Adds unique id, uri and other properties to Content class. Based on sketchfab models.- Author:
- joe
-
-
Constructor Summary
Constructors Constructor Description GltfModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getAuthor()
List<ContentCategory>
getCategories()
String
getDescription()
String
getLicense()
String
getMesh()
String
getName()
String
getUid()
String
getUri()
int
hashCode()
String
mainCategory()
void
setAuthor(String author)
void
setCategories(List<ContentCategory> categories)
void
setDescription(String description)
void
setLicense(String license)
void
setMesh(String mesh)
void
setName(String name)
void
setUid(String uid)
void
setUri(String uri)
String
toString()
-
Methods inherited from class org.vrspace.server.obj.Content
getContentType, getFileName, getLength, setContentType, setFileName, setLength
-
-
-
-
Method Detail
-
mainCategory
public String mainCategory()
-
getUid
public String getUid()
-
getUri
public String getUri()
-
getName
public String getName()
-
getDescription
public String getDescription()
-
getLicense
public String getLicense()
-
getAuthor
public String getAuthor()
-
getCategories
public List<ContentCategory> getCategories()
-
getMesh
public String getMesh()
-
setUid
public void setUid(String uid)
-
setUri
public void setUri(String uri)
-
setName
public void setName(String name)
-
setDescription
public void setDescription(String description)
-
setLicense
public void setLicense(String license)
-
setAuthor
public void setAuthor(String author)
-
setCategories
public void setCategories(List<ContentCategory> categories)
-
setMesh
public void setMesh(String mesh)
-
-