1.26.2.1
Prysm for UE4
UCohtmlHUD Class Reference
+ Inheritance diagram for UCohtmlHUD:

Public Member Functions

virtual COHTMLPLUGIN_API void InitializeComponent () override
 
COHTMLPLUGIN_API void DrawHUD (class UCanvas *Canvas, int32 positionX, int32 positionY)
 
COHTMLPLUGIN_API void CreateHUDView (const cohtml::ViewSettings &info, const FString &url)
 
virtual COHTMLPLUGIN_API void Resize (int32 width, int32 height) override
 
virtual int32 GetUserIndex () override
 
- Public Member Functions inherited from UCohtmlBaseComponent
void SetSoundAttenuation (const FSoundAttenuationSettings &Settings)
 
void RegisterForEvent (UPARAM(DisplayName="JavaScript Event Name") FString JSEventName, UPARAM(DisplayName="Event") FCohtmlJSEventBPCallback Delegate)
 
virtual void ResizeRenderTarget (int32 width, int32 height)
 
bool IsReadyToCreateView () const
 
bool IsReadyForBindings () const
 
bool HasRequestedView () const
 
void ShowPaintRects (bool show)
 
void Load (const FString &path)
 
void Reload ()
 
void DebugSaveNextFrame ()
 
void BeginDebugFrameSave ()
 
void EndDebugFrameSave ()
 
void EnableDelayedUpdate (bool bEnabled)
 
void EnableRendering (bool bEnabled)
 
UCohtmlJSEventCreateJSEvent ()
 
void TriggerJSEvent (const FString &name, UCohtmlJSEvent *eventData) const
 
void CreateDataModelFromObject (const FString &Name, UObject *Model)
 
void RemoveDataModelFromObject (UObject *Model)
 
void CreateDataModelFromStruct (const FString &Name, const TFieldPath< FStructProperty > Arg)
 
void UpdateWholeDataModelFromStruct (const TFieldPath< FStructProperty > Struct) const
 
void RemoveDataModelFromStruct (const TFieldPath< FStructProperty > Struct) const
 
void UpdateWholeDataModelFromObject (UObject *Model) const
 
void SynchronizeModels () const
 
void PreloadTextureSync (const FString &AssetPath)
 
void PreloadTextureAsync (const FString &AssetPath)
 
void AddPreloadedTexture (UTexture2D *Texture)
 
bool RemovePreloadedTextureFromPath (const FString &AssetPath)
 
bool RemovePreloadedTexture (UTexture2D *Texture)
 
void RemoveAllPreloadedTextures ()
 
virtual bool EnsureMeshData (ECohtmlComponentMeshInit MeshInitialization=ECohtmlComponentMeshInit::LazyInit)
 
virtual void BeginDestroy () override
 
virtual bool IsReadyForFinishDestroy () override
 
virtual void FinishDestroy () override
 
virtual bool GetMeshes (TArray< TWeakObjectPtr< UStaticMeshComponent >> &WeakMeshes) const
 
virtual void TickComponent (float DeltaTime, enum ELevelTick TickType, FActorComponentTickFunction *ThisTickFunction) override
 
cohtml::View * GetView () const
 
cohtml::ViewRenderer * GetViewRenderer () const
 
FCohtmlGesturePolicy * GetGesturePolicy ()
 
FCohtmlViewWrapperGetViewWrapper () const
 
const FCohtmlCaretRectGetCaretRect () const
 
void SetCaretRect (int x, int y, unsigned width, unsigned height)
 
void SetInputFocusToUI ()
 
void RestoreInputFocusFromUI (bool bForceFocusToGame=false)
 
cohtml::ECohtmlPageLoadState GetCurrentPageState () const
 
 DECLARE_FUNCTION (execCreateDataModelFromStruct)
 
 DECLARE_FUNCTION (execUpdateWholeDataModelFromStruct)
 
 DECLARE_FUNCTION (execRemoveDataModelFromStruct)
 

Public Attributes

FSoftObjectPath HUDMaterialName
 
UMaterial * HUDMaterial
 
UMaterialInstanceDynamic * HUDMaterialInstance
 
- Public Attributes inherited from UCohtmlBaseComponent
FCohtmlReadyForBindingsSignature ReadyForBindings
 
FCohtmlBindingsReleasedSignature BindingsReleased
 
FCohtmlScriptingReady ScriptingReady
 
TArray< UTexture2D * > PreloadedTextures
 
bool bEnableComplexCSSSupport
 
UTextureRenderTarget2D * Texture
 
TEnumAsByte< enum TextureFilter > Filter
 
bool bReceiveInput
 
bool bDelayedUpdate
 
bool bUseWideColorTextures
 
TArray< FCohtmlMeshDataMeshData
 
TArray< CohtmlDelegateFunctorWrapperJSEventCallbackWrappers
 
EMouseCursor::Type CurrentMouseCursor
 

Additional Inherited Members

- Public Types inherited from UCohtmlBaseComponent
typedef TArray< TWeakObjectPtr< UCohtmlBaseComponent > > WeakCohtmlComponentsArray
 
- Static Public Member Functions inherited from UCohtmlBaseComponent
static void CreateSystemIfNecessary (UWorld *World)
 
static class ACohtmlSystemGetSystemActor (UWorld *World)
 
static WeakCohtmlComponentsArray::TIterator GetUCohtmlBaseComponentIterator (UWorld *world)
 
- Protected Member Functions inherited from UCohtmlBaseComponent
void CreateView (const cohtml::ViewSettings &info, const FString &url)
 
virtual void SendRenderDynamicData_Concurrent () override
 
virtual bool RequiresGameThreadEndOfFrameUpdates () const override
 

Member Function Documentation

◆ Resize()

virtual COHTMLPLUGIN_API void UCohtmlHUD::Resize ( int32  width,
int32  height 
)
overridevirtual

Resizes the View

Reimplemented from UCohtmlBaseComponent.