Navigation
API > API/Runtime > API/Runtime/WebBrowserTexture
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UStreamableRenderAsset
- UTexture
- UWebBrowserTexture
References
| Module | WebBrowserTexture |
| Header | /Engine/Source/Runtime/WebBrowserTexture/Public/WebBrowserTexture.h |
| Include | #include "WebBrowserTexture.h" |
Syntax
class UWebBrowserTexture : public UTexture
Remarks
Implements a texture asset for rendering webbrowser output for Android.
probably should have derived from UTexture2DDynamic (not UTexture)
Variables
| Type | Name | Description | |
|---|---|---|---|
| TEnumAsByte< TextureAddress > | AddressX | The addressing mode to use for the X axis. | |
| TEnumAsByte< TextureAddress > | AddressY | The addressing mode to use for the Y axis. | |
| bool | AutoClear | Whether to clear the texture when no media is being played (default = enabled). | |
| FLinearColor | ClearColor | The color used to clear the texture if AutoClear is enabled (default = black). |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UWebBrowserTexture
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | Gets the current aspect ratio of the texture. | ||
| int32 | GetHeight () |
Gets the current height of the texture. | |
| int32 | GetWidth () |
Gets the current width of the texture. | |
| void | SetExternalTextureGuid
(
FGuid guid |
||
| void | TickResource
(
TSharedPtr< FWebBrowserTextureSample, ESPMode::ThreadSafe > Sample |
||
| void | Unregister the player's external texture GUID. |
Overridden from UTexture
| Type | Name | Description | |
|---|---|---|---|
| FTextureResource * | Implemented by subclasses to create a new resource for the texture. | ||
| FGuid | Access the GUID which defines this texture's resources externally through FExternalTextureRegistry | ||
| EMaterialValueType | |||
| uint32 | |||
| float | |||
| float | |||
| float | |||
| ETextureClass | Get Texture Class |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | BeginDestroy () |
Called before destroying the object. | |
| FString | GetDesc () |
Return a one line description of an object for viewing in the thumbnail view of the generic browser | |
| void | GetResourceSizeEx
(
FResourceSizeEx& CumulativeResourceSize |
Get the size of the object/resource for use in memory tools or to display to artists/LDs in the Editor This is the extended version which separates up the used memory into different memory regions (the actual definition of which may be platform specific). |