Resource Struct Reference
Resource used to update the ResourceModel. More...
#include <ResourceSpawner.hh>
Public Attributes | |
bool | isDownloaded = false |
Bool to indicate if this model has been downloaded or not, will always be false with local models as it is irrelevant in this case. | |
bool | isFuel = false |
Bool to indicate if this model is fuel or not. | |
std::string | name = "" |
The name of the resource. | |
std::string | owner = "" |
The owner of the resource, if the resource is local, owner will be empty. | |
std::string | sdfPath = "" |
The absolute path to the sdf corresponding to the local model. | |
std::string | thumbnailPath = "" |
The absolute path to the thumbnail of the local model, will be empty if no thumbnail is found. | |
Detailed Description
Resource used to update the ResourceModel.
Member Data Documentation
◆ isDownloaded
bool isDownloaded = false |
Bool to indicate if this model has been downloaded or not, will always be false with local models as it is irrelevant in this case.
◆ isFuel
bool isFuel = false |
Bool to indicate if this model is fuel or not.
◆ name
std::string name = "" |
The name of the resource.
◆ owner
std::string owner = "" |
The owner of the resource, if the resource is local, owner will be empty.
◆ sdfPath
std::string sdfPath = "" |
The absolute path to the sdf corresponding to the local model.
◆ thumbnailPath
std::string thumbnailPath = "" |
The absolute path to the thumbnail of the local model, will be empty if no thumbnail is found.
The documentation for this struct was generated from the following file: