forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 0
class_pathremap
reduz edited this page Feb 23, 2014
·
9 revisions
####Inherits: Object ####Category: Core
Singleton containing the list of remapped resources.
- void add_remap ( String from, String to, String locale="" )
- bool has_remap ( String path ) const
- String get_remap ( String path ) const
- void erase_remap ( String path )
- void clear_remaps ( )
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.
Add a remap from a file to another.
Return true if a file is being remapped.
Return the remapped new path of a file.
- void erase_remap ( String path )
Erase a remap.
- void clear_remaps ( )
Clear all remaps.