#include <HummingbirdWidget.h>
Inherits UWidget.
Public Member Functions | |
void | SetSoundAttenuation (const FSoundAttenuationSettings &Settings) |
UPROPERTY (BlueprintAssignable) FHBBindingsReleasedSignature BindingsReleased | |
bool | IsReadyToCreateView () const |
bool | IsReadyForBindings () const |
bool | HasRequestedView () const |
void | ShowPaintRects (bool show) |
void | Load (const FString &path) |
void | Reload () |
UTextureRenderTarget2D * | GetRenderTexture () const |
UHummingbirdJSEvent * | CreateJSEvent () |
void | TriggerJSEvent (const FString &name, UHummingbirdJSEvent *eventData) const |
Public Attributes | |
AActor * | Owner |
FHBReadyForBindingsSignature | ReadyForBindings |
FHBScriptingReady | HBScriptingReady |
bool | bEnableComplexCSSSupport |
bool | bReceiveInput |
bool | bGammaCorrectedMaterial |
FString | URL |
A HTML5 control powered by Hummingbird.
UHummingbirdJSEvent* UHummingbirdWidget::CreateJSEvent | ( | ) |
Creates an event that will be executed in JavaScript
UTextureRenderTarget2D* UHummingbirdWidget::GetRenderTexture | ( | ) | const |
Gives access to the UI Texture
bool UHummingbirdWidget::HasRequestedView | ( | ) | const |
Tells if a View has been scheduled for creation
bool UHummingbirdWidget::IsReadyForBindings | ( | ) | const |
Tells if the View is ready to be created
bool UHummingbirdWidget::IsReadyToCreateView | ( | ) | const |
Tells if the View is ready to be created
void UHummingbirdWidget::Load | ( | const FString & | path | ) |
Requests a new URL to be loaded in the View
void UHummingbirdWidget::Reload | ( | ) |
Requests the View to reload the current URL
void UHummingbirdWidget::SetSoundAttenuation | ( | const FSoundAttenuationSettings & | Settings | ) |
Sets the AttenuationSettings for the Sound Components Note: Sound is 2D by default. It can be changed to 3D if appropriate AttenuationSettings is set. for more details look at Unreal's documentation for AttenuationSettings
void UHummingbirdWidget::ShowPaintRects | ( | bool | show | ) |
Tells the view to show/hide debug paint rectangles
void UHummingbirdWidget::TriggerJSEvent | ( | const FString & | name, |
UHummingbirdJSEvent * | eventData | ||
) | const |
Triggers an event in JavaScript
UHummingbirdWidget::UPROPERTY | ( | BlueprintAssignable | ) |
When fired, the View has released its bindings.
bool UHummingbirdWidget::bEnableComplexCSSSupport |
Whether to enable support for complex CSS selectors (e.g. div > p, div ~ p)
bool UHummingbirdWidget::bGammaCorrectedMaterial |
Whether this widget's material should be gamma corrected or not. Set to true if the widget is used for HUD. Set to false if it is used for in-game surface.
bool UHummingbirdWidget::bReceiveInput |
Indicates whether input is forwarded to this view
FHBScriptingReady UHummingbirdWidget::HBScriptingReady |
Called when the View is ready to accept events
AActor* UHummingbirdWidget::Owner |
Gets or sets the Actor containing any LiveViewComponents.
FHBReadyForBindingsSignature UHummingbirdWidget::ReadyForBindings |
When fired, the View is ready for binding events. Any event bound prior to this will be ignored
FString UHummingbirdWidget::URL |
The URL to load when the View is created