ICohtmlScriptProvider
Inherited by FCohtmlScriptProvider
Public Functions
Section titled “Public Functions”| Name | |
|---|---|
| virtual FCohtmlCompiledScriptDataPtr | GetScriptCacheEntry(const FString & FilePath) =0 Will be called by the FileHandler before a JS resource request finishes. You can override this to pass your own scripts to the CohtmlFileHandler. or override the FCohtmlScriptProvider to leverage the default implementation. |
| virtual | ~ICohtmlScriptProvider() =default |
Public Functions Documentation
Section titled “Public Functions Documentation”function GetScriptCacheEntry
Section titled “function GetScriptCacheEntry”virtual FCohtmlCompiledScriptDataPtr GetScriptCacheEntry( const FString & FilePath) =0Will be called by the FileHandler before a JS resource request finishes. You can override this to pass your own scripts to the CohtmlFileHandler. or override the FCohtmlScriptProvider to leverage the default implementation.
Return: - The raw and compield data corresponding to the file. Uses a shared ptr to avoid lifetime issues while passing the data to the file handler
Reimplemented by: FCohtmlScriptProvider::GetScriptCacheEntry
function ~ICohtmlScriptProvider
Section titled “function ~ICohtmlScriptProvider”virtual ~ICohtmlScriptProvider() =default© 2026 Coherent Labs. All rights reserved.