◆ ResolvePreviewEntityForPrefab()
| proto external IEntity ItemPreviewManagerEntity.ResolvePreviewEntityForPrefab |
( |
ResourceName | prefabResource | ) |
|
◆ SetPreviewItem()
Set item to preview, optional override for PreviewRenderAttributes and forcing refresh of preview item (usualy not needed since system is taking care of updating hierarchy when entity hierarchy is changed) maxLiftTime sets the maximum time that the item preview can remain in cache after being unused.
if maxLifeTimeMS <= 0, the entry will always stay in cache
◆ SetPreviewItemFromPrefab()
| proto external void ItemPreviewManagerEntity.SetPreviewItemFromPrefab |
( |
ItemPreviewWidget | widget, |
|
|
ResourceName | prefabResource, |
|
|
PreviewRenderAttributes | attributes = null, |
|
|
bool | forceRefresh = false, |
|
|
int | maxLifeTimeMS = 30000 ) |
The documentation for this interface was generated from the following file:
- Game/generated/InventorySystem/ItemPreviewManagerEntity.c