Navigation
API > API/Runtime > API/Runtime/RuntimeAssetCache > API/Runtime/RuntimeAssetCache/UExampleTextureCacheBuilder
Description
Please override in your child class to provide easy access to the Asset.
This function will always get called when the Asset changes So set your specific variable here, e.g. Texture = Cast
Virtual Inheritance
- URuntimeAssetCacheBuilder_ObjectBase::OnSetAsset → UExampleTextureCacheBuilder::OnSetAsset
| Name | OnSetAsset |
| Type | function |
| Header File | /Engine/Source/Runtime/RuntimeAssetCache/Public/RuntimeAssetCacheBuilders.h |
| Include Path | #include "RuntimeAssetCacheBuilders.h" |
| Source | /Engine/Source/Runtime/RuntimeAssetCache/Private/RuntimeAssetCacheBuilders.cpp |
virtual void OnSetAsset
(
UObject * NewAsset
)