-
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\n\n### Brief Description
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_remap ==
- void add_remap" ( String from, String to, String locale="" ) \ Add a remap from a file to another. == has_remap ==
- bool has_remap" ( String path ) const \ Return true if a file is being remapped. == get_remap ==
- String get_remap" ( String path ) const \ 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.