![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <EngineUtils.h>
Public Types | |
| enum class | EStrippedData : uint8 { None = 0 , EditorOnly = 1 , AudioVisual = 2 , NeededForCooking = 4 , All = 0xff } |
Public Member Functions | |
| ENGINE_API | FStripDataFlags (FArchive &Ar, uint8 InClassFlags=0, const FPackageFileVersion &InVersion=GOldestLoadablePackageFileUEVersion) |
| ENGINE_API | FStripDataFlags (FArchive &Ar, uint8 InGlobalFlags, uint8 InClassFlags, const FPackageFileVersion &InVersion=GOldestLoadablePackageFileUEVersion) |
| ENGINE_API | FStripDataFlags (FStructuredArchive::FSlot Slot, uint8 InClassFlags=0, const FPackageFileVersion &InVersion=GOldestLoadablePackageFileUEVersion) |
| ENGINE_API | FStripDataFlags (FStructuredArchive::FSlot Slot, uint8 InGlobalFlags, uint8 InClassFlags, const FPackageFileVersion &InVersion=GOldestLoadablePackageFileUEVersion) |
| bool | IsEditorDataStripped () const |
| bool | IsAudioVisualDataStripped () const |
| bool | IsDataNeededForCookingStripped () const |
| bool | IsClassDataStripped (uint8 InFlags) const |
Helper class for serializing flags describing which data have been stripped (if any).
|
strong |
Engine strip flags
| Enumerator | |
|---|---|
| None | |
| EditorOnly | |
| AudioVisual | |
| NeededForCooking | |
| All | All flags |
|
explicit |
Constructor. Serializes strip data flags. Global (engine) flags are automatically generated from target platform when saving. Class flags need to be defined by the user.
| Ar | - Archive to serialize with. |
| InClassFlags | - User defined per class flags . |
| InVersion | - Minimal strip version required to serialize strip flags |
| FStripDataFlags::FStripDataFlags | ( | FArchive & | Ar, |
| uint8 | InGlobalFlags, | ||
| uint8 | InClassFlags, | ||
| const FPackageFileVersion & | InVersion = GOldestLoadablePackageFileUEVersion |
||
| ) |
Constructor. Serializes strip data flags. Global (engine) flags are user defined and will not be automatically generated when saving. Class flags also need to be defined by the user.
| Ar | - Archive to serialize with. |
| InGlobalFlags | Engine flags |
| InClassFlags | - User defined per class flags. |
| InVersion | - Minimal version required to serialize strip flags |
|
explicit |
Constructor. Serializes strip data flags. Global (engine) flags are automatically generated from target platform when saving. Class flags need to be defined by the user.
| Slot | - Slot holding the archive to serialize with. |
| InClassFlags | - User defined per class flags . |
| InVersion | - Minimal strip version required to serialize strip flags |
| FStripDataFlags::FStripDataFlags | ( | FStructuredArchive::FSlot | Slot, |
| uint8 | InGlobalFlags, | ||
| uint8 | InClassFlags, | ||
| const FPackageFileVersion & | InVersion = GOldestLoadablePackageFileUEVersion |
||
| ) |
Constructor. Serializes strip data flags. Global (engine) flags are user defined and will not be automatically generated when saving. Class flags also need to be defined by the user.
| Slot | - Slot holding the archive to serialize with. |
| InGlobalFlags | - Engine flags. |
| InClassFlags | - User defined per class flags. |
| InVersion | - Minimal version required to serialize strip flags |
|
inline |
Checks if FStripDataFlags::AudioVisual flag is set or not
Checks if user defined flags are set or not.
@InFlags - User defined flags to check.
|
inline |
Checks if FStripDataFlags::NeededForCooking flag is set or not. It should be set for all non-content-worker targets
|
inline |
Checks if FStripDataFlags::Editor flag is set or not