Navigation
API > API/Editor > API/Editor/UnrealEd
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/AssetPrivatizeModel.h |
| Include | #include "AssetPrivatizeModel.h" |
Syntax
class FAssetPrivatizeModel
Constructors
| Type | Name | Description | |
|---|---|---|---|
FAssetPrivatizeModel
(
const TArray< UObject* >& InObjectsToPrivatize |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddObjectToPrivatize
(
UObject* InObject, |
Add an object to the list of pending private assets, this will invalidate the scanning state | |
| bool | Returns true if we can't cleanly mark the pending objects as private (there are illegal references detected) | ||
| bool | CanPrivatize () |
Returns true if it is valid to mark private the pending objects with no problems (there are no illegal references detected) | |
| bool | Marks the pending private objects as private and nulls out all detected illegal references | ||
| bool | DoPrivatize () |
Performs the privatization action if possible | |
| const TSet< FName > & | Gets the packages of the assets on disk that would illegally reference the pending private objects if they were made private; won't be accurate until the scanning process completes. | ||
| int32 | Gets the number of objects successfully made private | ||
| const TArray< TSharedPtr< FPendingPrivateAsset > > * | Returns the pending private assets | ||
| float | GetProgress () |
Gets the 0..1 progress of the scan | |
| FText | Gets the current text to display for the current progress of the scan | ||
| EState | GetState () |
Returns the current state of the scanning process | |
| bool | Are any of the pending assets being referenced in memory. | ||
| bool | Are any of the pending assets being referenced in the undo stack. | ||
| FOnStateChanged & | |||
| void | Tick
(
const float InDeltaTime |
Ticks the privatize model which does a timeslice of work before returning |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FOnStateChanged | Fires whenever the state changes |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EState |