Navigation
API > API/Plugins > API/Plugins/DataflowEditor
Dataflow simulation panel to control an animation/simulation
| Name | SDataflowSimulationPanel |
| Type | class |
| Header File | /Engine/Plugins/Experimental/Dataflow/Source/DataflowEditor/Public/Dataflow/DataflowSimulationPanel.h |
| Include Path | #include "Dataflow/DataflowSimulationPanel.h" |
Syntax
class SDataflowSimulationPanel : public SCompoundWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SDataflowSimulationPanel
- FSlateControlledConstruction → SWidget → SCompoundWidget → SDataflowSimulationPanel
Structs
| Name | Remarks |
|---|---|
| FArguments | View min/max to run the simulation |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FrameIndexWidget | TSharedPtr< SEditableTextBox > | Widget showing editable frame index | Dataflow/DataflowSimulationPanel.h | |
| PlaybackMode | EPlaybackMode::Type | Playback mode | Dataflow/DataflowSimulationPanel.h | |
| PreviewPlaybackMode | EDataflowPlaybackMode | Preview playback mode (looping...) | Dataflow/DataflowSimulationPanel.h | |
| PreviewPlaybackModeButton | TSharedPtr< SButton > | Playback mode button | Dataflow/DataflowSimulationPanel.h | |
| ScrubControlPanel | TSharedPtr< SScrubControlPanel > | Scrub widget defined for the timeline | Dataflow/DataflowSimulationPanel.h | |
| SimulationScene | TWeakPtr< FDataflowSimulationScene > | Simulation scene to be used for the widget | Dataflow/DataflowSimulationPanel.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs, |
Construct the simulation widget | Dataflow/DataflowSimulationPanel.h | |
bool GetDisplayDrag() |
Get the display drag | Dataflow/DataflowSimulationPanel.h | |
uint32 GetNumberOfKeys() |
Get the number of keys | Dataflow/DataflowSimulationPanel.h | |
EPlaybackMode::Type GetPlaybackMode() |
Get the playback mode used in the widget | Dataflow/DataflowSimulationPanel.h | |
float GetScrubValue() |
Get ethe current scrub value | Dataflow/DataflowSimulationPanel.h | |
float GetSequenceLength() |
Get the sequence length | Dataflow/DataflowSimulationPanel.h | |
void OnBeginSliderMovement() |
Dataflow/DataflowSimulationPanel.h | ||
FReply OnClick_Backward() |
Dataflow/DataflowSimulationPanel.h | ||
FReply OnClick_Backward_End() |
Dataflow/DataflowSimulationPanel.h | ||
FReply OnClick_Backward_Step() |
Dataflow/DataflowSimulationPanel.h | ||
FReply OnClick_Forward() |
Dataflow/DataflowSimulationPanel.h | ||
FReply OnClick_Forward_End() |
Dataflow/DataflowSimulationPanel.h | ||
FReply OnClick_Forward_Step() |
Delegate when the simulation controls are pressed | Dataflow/DataflowSimulationPanel.h | |
FReply OnClick_PreviewPlaybackMode() |
Dataflow/DataflowSimulationPanel.h | ||
FReply OnClick_Record() |
Dataflow/DataflowSimulationPanel.h | ||
TSharedRef< SWidget > OnCreatePreviewPlaybackModeWidget() |
Delegate when the playback mode is changed | Dataflow/DataflowSimulationPanel.h | |
void OnTickPlayback
(
double InCurrentTime, |
Main simulation delegates | Dataflow/DataflowSimulationPanel.h | |
void OnValueChanged
(
float NewValue |
Dataflow/DataflowSimulationPanel.h | ||
void SetFrameIndex
(
const FText& InNewText, |
Dataflow/DataflowSimulationPanel.h | ||
void UpdateSimulationTimeFromScrubValue
(
float ScrubValue, |
Dataflow/DataflowSimulationPanel.h |