![]() |
GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
|
Describe a 3D model file used by a project. More...
#include <ResourcesContainer.h>
Inherits gd::Resource.
Public Member Functions | |
| virtual Model3DResource * | Clone () const override |
| virtual const gd::String & | GetFile () const override |
| Return, if applicable, the String containing the file used by the resource. The file is relative to the project directory. More... | |
| virtual void | SetFile (const gd::String &newFile) override |
| Change, if applicable, the file of the resource. More... | |
| virtual bool | UseFile () const override |
| Return true if the resource use a file. More... | |
| void | SerializeTo (SerializerElement &element) const override |
| Serialize the object. | |
| void | UnserializeFrom (const SerializerElement &element) override |
| Unserialize the object. | |
Public Member Functions inherited from gd::Resource | |
| virtual void | SetName (const gd::String &name_) |
| Change the name of the resource with the name passed as parameter. | |
| virtual const gd::String & | GetName () const |
| Return the name of the resource. | |
| virtual void | SetKind (const gd::String &newKind) |
| Change the kind of the resource. | |
| virtual const gd::String & | GetKind () const |
| Return the kind of the resource. | |
| virtual void | SetUserAdded (bool isUserAdded) |
| Change if the resource is user added or not. | |
| virtual bool | IsUserAdded () const |
| Return true if the resource was added by the user. | |
| virtual void | SetOrigin (const gd::String &originName_, const gd::String &originIdentifier_) |
| virtual const gd::String & | GetOriginName () const |
| virtual const gd::String & | GetOriginIdentifier () const |
| virtual void | SetMetadata (const gd::String &metadata_) |
| Set the metadata (any string) associated to the resource. More... | |
| virtual const gd::String & | GetMetadata () const |
| Return the (optional) metadata associated to the resource. | |
| virtual std::map< gd::String, gd::PropertyDescriptor > | GetProperties () const |
| Called when the IDE wants to know about the custom properties of the resource. More... | |
| virtual bool | UpdateProperty (const gd::String &name, const gd::String &value) |
| Called when the IDE wants to update a custom property of the resource. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from gd::Resource | |
| static const gd::String | imageType = "image" |
| static const gd::String | audioType = "audio" |
| static const gd::String | fontType = "font" |
| static const gd::String | videoType = "video" |
| static const gd::String | jsonType = "json" |
| static const gd::String | tileMapType = "tilemap" |
| static const gd::String | tileSetType = "tileset" |
| static const gd::String | bitmapType = "bitmapFont" |
| static const gd::String | model3DType = "model3D" |
| static const gd::String | atlasType = "atlas" |
| static const gd::String | spineType = "spine" |
| static const gd::String | javaScriptType = "javascript" |
| static const gd::String | internalInGameEditorOnlySvgType = "internal-in-game-editor-only-svg" |
Describe a 3D model file used by a project.
|
inlineoverridevirtual |
Return, if applicable, the String containing the file used by the resource. The file is relative to the project directory.
Reimplemented from gd::Resource.
|
overridevirtual |
Change, if applicable, the file of the resource.
Reimplemented from gd::Resource.
|
inlineoverridevirtual |
Return true if the resource use a file.
Reimplemented from gd::Resource.