Skip to content

class_resourcepreloader

reduz edited this page Feb 23, 2014 · 9 revisions

ResourcePreloader

Inherits: Node\n\n

Brief Description

Resource Preloader Node.

Member Functions

Description

Resource Preloader Node. This node is used to preload sub-resources inside a scene, so when the scene is loaded all the resourcs are ready to use and be retrieved from here.

Member Function Description

  • void ** add_resource ** ( String name, Object resource ) \ Add a resource to the preloader. Set the text-id that will be used to identify it (retrieve it/erase it/etc).
  • void ** rename_resource ** ( String name, String newname ) \ Rename a resource inside the preloader, from a text-id to a new text-id.

Clone this wiki locally