GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
Public Member Functions | List of all members
gd::InGameEditorResourceMetadata Class Reference

Describe a resource to be used in the in-game editor. More...

#include <InGameEditorResourceMetadata.h>

Public Member Functions

InGameEditorResourceMetadata & SetResourceName (const gd::String &resourceName_)
 
InGameEditorResourceMetadata & SetFilePath (const gd::String &relativeFilePath_)
 
InGameEditorResourceMetadata & SetKind (const gd::String &kind_)
 
const gd::String & GetResourceName () const
 
const gd::String & GetFilePath () const
 
const gd::String & GetKind () const
 

Detailed Description

Describe a resource to be used in the in-game editor.

Member Function Documentation

◆ SetFilePath()

InGameEditorResourceMetadata& gd::InGameEditorResourceMetadata::SetFilePath ( const gd::String &  relativeFilePath_)
inline

Set the file path relative to the Runtime folder. In-game editor resources are not copied during a preview. Instead, they are included in the exported project with an absolute path.


The documentation for this class was generated from the following file: