UPixelStreamerInputComponent::OnCommand

Run a built-in command.

Windows
MacOS
Linux

References

Module

PixelStreaming

Header

/Engine/Plugins/Media/PixelStreaming/Source/PixelStreaming/Public/PixelStreamerInputComponent.h

Include

#include "PixelStreamerInputComponent.h"

Source

/Engine/Plugins/Media/PixelStreaming/Source/PixelStreaming/Private/PixelStreamerInputComponent.cpp

Syntax

bool OnCommand
(
    const FString & Descriptor
)

Remarks

Run a built-in command. The commands are defined by a JSON descriptor. The currently supported commands are:

A command to run any console command: "{ ConsoleCommand: }"

A command to change the resolution to the given width and height. "{ Resolution: { Width: , Height: } }"

Returns

True if the command was successfully executed.

Parameters

Parameter

Description

Descriptor

The command JSON descriptor.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss