UOperatingSystemVideoFile
#include <OperatingSystemSimulator/Public/Files/OperatingSystemVideoFile.h>class UOperatingSystemVideoFileDefined in OperatingSystemVideoFile.h:19
Inherits:
UOperatingSystemFile
Inheritance diagram
Section titled “Inheritance diagram”---
config:
class:
hideEmptyMembersBox: true
---
classDiagram
class UOperatingSystemVideoFile["UOperatingSystemVideoFile"]
class UOperatingSystemFile["UOperatingSystemFile"]
UOperatingSystemFile <|-- UOperatingSystemVideoFile
Class detail
Section titled “Class detail”---
config:
class:
hideEmptyMembersBox: true
---
classDiagram
class UOperatingSystemVideoFile {
+UOperatingSystemVideoFile()
+MediaSource : TSoftObjectPtr< UMediaSource >
+OnValidate(FGenericError &OutError) override
}
Represents an operating system video file.
UOperatingSystemVideoFile is a subclass of UOperatingSystemFile that represents a video file in the operating system. It provides functionality to store and validate a video media source.
Public Methods
Section titled “Public Methods”| Return | Name | Description |
|---|---|---|
UOperatingSystemVideoFile |
UOperatingSystemVideoFile
Section titled “UOperatingSystemVideoFile”UOperatingSystemVideoFile()Defined in OperatingSystemVideoFile.h:31
References
Section titled “References”Protected Attributes
Section titled “Protected Attributes”| Return | Name | Description |
|---|---|---|
TSoftObjectPtr< UMediaSource > | MediaSource | Video media source. |
MediaSource
Section titled “MediaSource”TSoftObjectPtr< UMediaSource > MediaSourceDefined in OperatingSystemVideoFile.h:27 Video media source.
Referenced by
Section titled “Referenced by”Protected Methods
Section titled “Protected Methods”| Return | Name | Description |
|---|---|---|
void | OnValidate virtual override | Validates the operating system video file. |
OnValidate
Section titled “OnValidate”virtual override
virtual void OnValidate(FGenericError & OutError) overrideDefined in OperatingSystemVideoFile.h:43 Validates the operating system video file.
This method checks if the MediaSource is null and sets the OutError object if it is. The error message will be of the format ”‘%s’ has no media source set.”, where s is replaced by the file name returned from GetFileName().
Parameters
Section titled “Parameters”OutErrorThe reference to a FGenericError object that will store the error information if the validation fails.
References
Section titled “References”GetFileNameMAKE_ERRORMediaSource