SimApi Control getResourcePath

From SIMboxWiki
Jump to navigation Jump to search

Icon attributes.pngstatic CCHAR_A* SimApi::Control::getResourcePath()


    Gets the path to the simulation resource directory. ANSI


    Type: CCHAR_A *   Description: The simulation resource directory.


The resource directory is used to store various resources needed by the simulation. When developing a component that requires additional resources, we will create a folder or use an existing folder located under the resource directory. This will ensure that the resources will be available in every installation.