Class GltfModel


@Node 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 Details

    • GltfModel

      public GltfModel()
  • Method Details

    • 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)
    • toString

      public String toString()
      Overrides:
      toString in class Content
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Content
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class Content
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Content