UWebBrowserTexture

Implements a texture asset for rendering webbrowser output for Android.

Windows
MacOS
Linux

Inheritance Hierarchy

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.

Variables

Name Description

Public variable

TEnumAsByte< Te...

 

AddressX

The addressing mode to use for the X axis.

Public variable

TEnumAsByte< Te...

 

AddressY

The addressing mode to use for the Y axis.

Public variable

bool

 

AutoClear

Whether to clear the texture when no media is being played (default = enabled).

Public variable

FLinearColor

 

ClearColor

The color used to clear the texture if AutoClear is enabled (default = black).

Constructors

Name Description

Public function

UWebBrowserTexture

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Const

float

 

GetAspectRatio()

Gets the current aspect ratio of the texture.

Public function Const

int32

 

GetHeight()

Gets the current height of the texture.

Public function Const

int32

 

GetWidth()

Gets the current width of the texture.

Public function

void

 

SetExternalTextureGuid

(
    FGuid guid
)

Public function

void

 

TickResource

Protected function

void

 

UnregisterPlayerGuid()

Unregister the player's external texture GUID.

Overridden from UTexture

Name Description

Public function Virtual

FTextureReso...

 

CreateResource()

Implemented by subclasses to create a new resource for the texture.

Public function Virtual Const

FGuid

 

GetExternalTextureGuid()

Access the GUID which defines this texture's resources externally through FExternalTextureRegistry

Public function Virtual Const

EMaterialVal...

 

GetMaterialType()

Public function Virtual Const

float

 

GetSurfaceHeight()

Public function Virtual Const

float

 

GetSurfaceWidth()

Overridden from UObject

Name Description

Public function Virtual

void

 

BeginDestroy()

Called before destroying the object.

Public function Virtual

FString

 

GetDesc()

Return a one line description of an object for viewing in the thumbnail view of the generic browser

Public function Virtual

void

 

GetResourceSizeEx

(
    FResourceSizeEx& CumulativeResourc...
)

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).

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss