Navigation
API > API/Plugins > API/Plugins/PixelStreaming > API/Plugins/PixelStreaming/UPixelStreamingInput
Description
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.
| Name | GetJsonStringValue |
| Type | function |
| Header File | /Engine/Plugins/Media/PixelStreaming/Source/PixelStreaming/Public/PixelStreamingInputComponent.h |
| Include Path | #include "PixelStreamingInputComponent.h" |
| Source | /Engine/Plugins/Media/PixelStreaming/Source/PixelStreaming/Private/PixelStreamingInputComponent.cpp |
UFUNCTION (BlueprintPure, Category="PixelStreaming Input")
void GetJsonStringValue
(
FString Descriptor,
FString FieldName,
FString & StringValue,
bool & Success
)
Parameters
| Name | Remarks |
|---|---|
| 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. |