|
Unravel Engine C++ Reference
|
Functions | |
| auto | resolve_asset_source_path (const std::string &asset_key) -> fs::path |
| auto | resolve_asset_source_path (const fs::path &path) -> fs::path |
| auto | can_reimport (const fs::path &absolute_path) -> bool |
| void | reimport_path (const fs::path &absolute_path) |
| void | reimport_key (const std::string &asset_key) |
| auto | is_valid_csharp_identifier (const std::string &name) -> bool |
| auto | create_script_from_template (const fs::path &template_path, const fs::path &dst, std::string *error=nullptr) -> bool |
| Instantiate a ScriptComponent template (.cs.in), substituting #SCRIPTNAME# with the destination file stem. Uses atomic write when possible. | |
| template<typename T > | |
| void | reimport (const asset_handle< T > &asset) |
| auto unravel::asset_actions::can_reimport | ( | const fs::path & | absolute_path | ) | -> bool |
Definition at line 33 of file asset_actions.cpp.
| auto unravel::asset_actions::create_script_from_template | ( | const fs::path & | template_path, |
| const fs::path & | dst, | ||
| std::string * | error ) -> bool |
Instantiate a ScriptComponent template (.cs.in), substituting #SCRIPTNAME# with the destination file stem. Uses atomic write when possible.
Definition at line 88 of file asset_actions.cpp.
| auto unravel::asset_actions::is_valid_csharp_identifier | ( | const std::string & | name | ) | -> bool |
Definition at line 74 of file asset_actions.cpp.
| void unravel::asset_actions::reimport | ( | const asset_handle< T > & | asset | ) |
Definition at line 20 of file asset_actions.h.
| void unravel::asset_actions::reimport_key | ( | const std::string & | asset_key | ) |
Definition at line 69 of file asset_actions.cpp.
| void unravel::asset_actions::reimport_path | ( | const fs::path & | absolute_path | ) |
Definition at line 56 of file asset_actions.cpp.
| auto unravel::asset_actions::resolve_asset_source_path | ( | const fs::path & | path | ) | -> fs::path |
Definition at line 24 of file asset_actions.cpp.
| auto unravel::asset_actions::resolve_asset_source_path | ( | const std::string & | asset_key | ) | -> fs::path |
Definition at line 19 of file asset_actions.cpp.