reckfellENGINE

ResourceImporter

Base class for resource importers.

On this page
class ResourceImporterReckfellSharpInherits RefCounted

Base class for resource importers.

This is the base class for Reckfell's resource importers. To implement your own resource importers using editor plugins, see EditorImportPlugin.

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Methods1

_GetBuildDependenciesstring[]
# _GetBuildDependencies
C#
public virtual string[] _GetBuildDependencies(string path);

Called when the engine compilation profile editor wants to check what build options an imported resource needs. For example, ResourceImporterDynamicFont has a property called ResourceImporterDynamicFont.multichannel_signed_distance_field, that depends on the engine to be build with the "msdfgen" module. If that resource happened to be a custom one, it would be handled like this:

Parameters
NameTypeDefault
pathstring—
Returns string[]

ResourceImporter.ImportOrder

ValueDescription
Default = 0

The default import order.

Scene = 100

The import order for scenes, which ensures scenes are imported after all other core resources such as textures. Custom importers should generally have an import order lower than 100 to avoid issues when importing scenes that rely on custom resources.

Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.