Navigation
API > API/Runtime > API/Runtime/WebBrowserTexture
Inheritance Hierarchy
- UTexture
- UWebBrowserTexture
References
| Module | WebBrowserTexture |
| Header | /Engine/Source/Runtime/WebBrowserTexture/Public/WebBrowserTexture.h |
| Include | #include "WebBrowserTexture.h" |
Syntax
UCLASS (HideCategories=(Adjustments, Compositing, LevelOfDetail, Object))
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 | |
|---|---|---|---|
| void | BeginDestroy () |
||
| FTextureResource * | |||
| float | Gets the current aspect ratio of the texture. | ||
| FString | GetDesc () |
||
| FGuid | |||
| int32 | GetHeight () |
Gets the current height of the texture. | |
| EMaterialValueType | |||
| void | GetResourceSizeEx
(
FResourceSizeEx& CumulativeResourceSize |
||
| uint32 | |||
| float | |||
| float | |||
| float | |||
| ETextureClass | |||
| 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. |