This viewport is a simple interface for the loading to use to display the video textures.
更多...
|
|
virtual FIntPoint | GetSize () const override |
| | Returns the size of the viewport
|
| |
| virtual class FSlateShaderResource * | GetViewportRenderTargetTexture () const override |
| | Returns a slate texture used to draw the rendered viewport in Slate. 更多...
|
| |
|
virtual bool | RequiresVsync () const override |
| | Returns true if the viewport should be vsynced.
|
| |
| virtual bool | AllowScaling () const |
| | Whether the viewport contents should be scaled or not. 更多...
|
| |
|
virtual FIntPoint | GetSize () const =0 |
| | Returns the size of the viewport
|
| |
|
virtual FVector2D | GetSoftwareCursorPosition () const |
| | Returns the current position of the software cursor
|
| |
| virtual class FSlateShaderResource * | GetViewportRenderTargetTexture () const =0 |
| | Returns a slate texture used to draw the rendered viewport in Slate. 更多...
|
| |
|
virtual TWeakPtr< SWidget > | GetWidget () |
| | Gets the SWidget associated with this viewport
|
| |
| virtual bool | HandleNavigation (const uint32 InUserIndex, TSharedPtr< SWidget > InDestination) |
| | Give the viewport an opportunity to override the navigation behavior. 更多...
|
| |
|
virtual bool | IsSoftwareCursorVisible () const |
| | Returns whether the software cursor is currently visible
|
| |
|
virtual bool | IsViewportTextureAlphaOnly () const |
| | Does the texture returned by GetViewportRenderTargetTexture only have an alpha channel?
|
| |
| virtual FReply | OnAnalogValueChanged (const FGeometry &MyGeometry, const FAnalogInputEvent &InAnalogInputEvent) |
| | Called when an analog value changes on a button that supports analog 更多...
|
| |
| virtual FCursorReply | OnCursorQuery (const FGeometry &MyGeometry, const FPointerEvent &CursorEvent) |
| | Called when Slate needs to know what the mouse cursor should be. 更多...
|
| |
| virtual void | OnDrawViewport (const FGeometry &AllottedGeometry, const FSlateRect &MyCullingRect, class FSlateWindowElementList &OutDrawElements, int32 LayerId, const FWidgetStyle &InWidgetStyle, bool bParentEnabled) |
| | Called by Slate when the viewport widget is drawn Implementers of this interface can use this method to perform custom per draw functionality. 更多...
|
| |
|
virtual void | OnFinishedPointerInput () |
| | Called after all input for this frame is processed.
|
| |
| virtual void | OnFocusLost (const FFocusEvent &InFocusEvent) |
| | Called when the viewport loses keyboard focus. 更多...
|
| |
| virtual FReply | OnFocusReceived (const FFocusEvent &InFocusEvent) |
| | Called when the viewport gains keyboard focus. 更多...
|
| |
| virtual FReply | OnKeyChar (const FGeometry &MyGeometry, const FCharacterEvent &InCharacterEvent) |
| | Called by Slate when a character key is pressed while the viewport has focus 更多...
|
| |
| virtual FReply | OnKeyDown (const FGeometry &MyGeometry, const FKeyEvent &InKeyEvent) |
| | Called by Slate when a key is pressed inside the viewport 更多...
|
| |
| virtual FReply | OnKeyUp (const FGeometry &MyGeometry, const FKeyEvent &InKeyEvent) |
| | Called by Slate when a key is released inside the viewport 更多...
|
| |
| virtual TOptional< TSharedRef< SWidget > > | OnMapCursor (const FCursorReply &CursorReply) |
| | After OnCursorQuery has specified a cursor type the system asks each widget under the mouse to map that cursor to a widget. 更多...
|
| |
| virtual FReply | OnMotionDetected (const FGeometry &MyGeometry, const FMotionEvent &InMotionEvent) |
| | Called when motion is detected (controller or device) e.g. 更多...
|
| |
| virtual FReply | OnMouseButtonDoubleClick (const FGeometry &InMyGeometry, const FPointerEvent &InMouseEvent) |
| | Called by Slate when the mouse wheel is used inside the viewport 更多...
|
| |
| virtual FReply | OnMouseButtonDown (const FGeometry &MyGeometry, const FPointerEvent &MouseEvent) |
| | Called by Slate when a mouse button is pressed inside the viewport 更多...
|
| |
| virtual FReply | OnMouseButtonUp (const FGeometry &MyGeometry, const FPointerEvent &MouseEvent) |
| | Called by Slate when a mouse button is released inside the viewport 更多...
|
| |
| virtual FReply | OnMouseMove (const FGeometry &MyGeometry, const FPointerEvent &MouseEvent) |
| | Called by Slate when a mouse button is released inside the viewport 更多...
|
| |
| virtual FReply | OnMouseWheel (const FGeometry &MyGeometry, const FPointerEvent &MouseEvent) |
| | Called by Slate when the mouse wheel is used inside the viewport 更多...
|
| |
| virtual FNavigationReply | OnNavigation (const FGeometry &MyGeometry, const FNavigationEvent &InNavigationEvent) |
| | Called when navigation is requested e.g. 更多...
|
| |
| virtual FPopupMethodReply | OnQueryPopupMethod () const |
| | Called to figure out whether we can make new windows for popups within this viewport. 更多...
|
| |
| virtual TOptional< bool > | OnQueryShowFocus (const EFocusCause InFocusCause) const |
| | Called to determine if we should render the focus brush. 更多...
|
| |
| virtual FReply | OnRequestWindowClose () |
| | Called when the top level window associated with the viewport has been requested to close. 更多...
|
| |
| virtual FReply | OnTouchEnded (const FGeometry &MyGeometry, const FPointerEvent &InTouchEvent) |
| | Called when a touchpad touch is ended (finger lifted) 更多...
|
| |
| virtual FReply | OnTouchFirstMove (const FGeometry &MyGeometry, const FPointerEvent &InTouchEvent) |
| | Called when a touchpad touch has first moved after initial press 更多...
|
| |
| virtual FReply | OnTouchForceChanged (const FGeometry &MyGeometry, const FPointerEvent &InTouchEvent) |
| | Called when a touchpad touch force changes, but may or may not have moved 更多...
|
| |
| virtual FReply | OnTouchGesture (const FGeometry &MyGeometry, const FPointerEvent &InGestureEvent) |
| | Called on a touchpad gesture event 更多...
|
| |
| virtual FReply | OnTouchMoved (const FGeometry &MyGeometry, const FPointerEvent &InTouchEvent) |
| | Called when a touchpad touch is moved (finger moved) 更多...
|
| |
| virtual FReply | OnTouchStarted (const FGeometry &MyGeometry, const FPointerEvent &InTouchEvent) |
| | Called when a touchpad touch is started (finger down) 更多...
|
| |
|
virtual FReply | OnViewportActivated (const FWindowActivateEvent &InActivateEvent) |
| | Called when the viewports top level window is being Activated
|
| |
|
virtual void | OnViewportClosed () |
| | Called when the viewport has been requested to close.
|
| |
|
virtual void | OnViewportDeactivated (const FWindowActivateEvent &InActivateEvent) |
| | Called when the viewports top level window is being Deactivated
|
| |
|
virtual bool | RequiresVsync () const =0 |
| | Returns true if the viewport should be vsynced.
|
| |
|
virtual void | Tick (const FGeometry &AllottedGeometry, double InCurrentTime, float DeltaTime) |
| | Performs any ticking necessary by this handle
|
| |
| TSharedRef< FMovieViewport, Mode > | AsShared () |
| | Provides access to a shared reference to this object. 更多...
|
| |
| TSharedRef< FMovieViewport const, Mode > | AsShared () const |
| | Provides access to a shared reference to this object (const.) Note that is only valid to call this after a shared reference (or shared pointer) to the object has already been created. 更多...
|
| |
| FORCEINLINE bool | DoesSharedInstanceExist () const |
| | Checks whether our referenced instance is valid (ie, whether it's safe to call AsShared). 更多...
|
| |
| FORCEINLINE void | UpdateWeakReferenceInternal (TSharedPtr< SharedPtrType, Mode > const *InSharedPtr, OtherType *InObject) const |
| | INTERNAL USE ONLY – Do not call this method. 更多...
|
| |
| FORCEINLINE void | UpdateWeakReferenceInternal (TSharedRef< SharedRefType, Mode > const *InSharedRef, OtherType *InObject) const |
| | INTERNAL USE ONLY – Do not call this method. 更多...
|
| |
This viewport is a simple interface for the loading to use to display the video textures.