Navigation
API > API/Plugins > API/Plugins/PixelStreaming > API/Plugins/PixelStreaming/UPixelStreamingInput
References
| Module | PixelStreaming |
| Header | /Engine/Plugins/Media/PixelStreaming/Source/PixelStreaming/Public/PixelStreamingInputComponent.h |
| Include | #include "PixelStreamingInputComponent.h" |
| Source | /Engine/Plugins/Media/PixelStreaming/Source/PixelStreaming/Private/PixelStreamingInputComponent.cpp |
UFUNCTION&40;BlueprintPure, Category&61;"PixelStreaming Input"&41;
void GetJsonStringValue
&40;
FString Descriptor,
FString FieldName,
FString & StringValue,
bool & Success
&41;
Remarks
Helper function to extract a string field from a JSON descriptor of a UI interaction given its field name. The field name may be hierarchical, delimited by a period. For example, to access the Width value of a Resolution command above you should use "Resolution.Width" to get the width value.
Parameters
| Name | Description |
|---|---|
| Descriptor | The UI interaction JSON descriptor. |
| FieldName | The name of the field to look for in the JSON. |
| StringValue | The string value associated with the field name. |
| Success | True if the field exists in the JSON data. |