class_pathremap - vkbsb/godot GitHub Wiki

PathRemap

####Inherits: Object ####Category: Core

Brief Description

Singleton containing the list of remapped resources.

Member Functions

Description

When exporting, the types of some resources may change internally so they are converted to more optimized versions. While it's not usually necesary to access to this directly (path remapping happens automatically when opeining a file), it's exported just for information.

Member Function Description

add_remap

Add a remap from a file to another.

has_remap

Return true if a file is being remapped.

get_remap

Return the remapped new path of a file.

erase_remap

  • void erase_remap ( String path )

Erase a remap.

clear_remaps

  • void clear_remaps ( )

Clear all remaps.