Navigation
API > API/Plugins > API/Plugins/RemoteSession
| Name | FRemoteSessionARCameraChannel |
| Type | class |
| Header File | /Engine/Plugins/Experimental/RemoteSession/Source/RemoteSession/Public/Channels/RemoteSessionARCameraChannel.h |
| Include Path | #include "Channels/RemoteSessionARCameraChannel.h" |
Syntax
class FRemoteSessionARCameraChannel :
public IRemoteSessionChannel ,
public FGCObject
Inheritance Hierarchy
- FGCObject → FRemoteSessionARCameraChannel
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRemoteSessionARCameraChannel
(
ERemoteSessionChannelMode InRole, |
Channels/RemoteSessionARCameraChannel.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FRemoteSessionARCameraChannel() |
Channels/RemoteSessionARCameraChannel.h |
Structs
| Name | Remarks |
|---|---|
| FCompressionTask | A wrapper around the async compression task |
| FDecompressedImage |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CompressionTask | TSharedPtr< FCompressionTask, ESPMode::ThreadSafe > | Only compress one frame at a time to prevent flooding the GPU | Channels/RemoteSessionARCameraChannel.h | |
| Connection | TSharedPtr< IBackChannelConnection, ESPMode::ThreadSafe > | Channels/RemoteSessionARCameraChannel.h | ||
| DecompressionQueue | TArray< TSharedPtr< FDecompressedImage, ESPMode::ThreadSafe > > | Images that have been received and are available for rendering | Channels/RemoteSessionARCameraChannel.h | |
| DecompressionQueueLock | FCriticalSection | Channels/RemoteSessionARCameraChannel.h | ||
| DecompressionTaskCount | FThreadSafeCounter | Channels/RemoteSessionARCameraChannel.h | ||
| LastSetTexture | UTexture2D * | Channels/RemoteSessionARCameraChannel.h | ||
| MaterialInstanceDynamic | TObjectPtr< UMaterialInstanceDynamic > | To set the current texture for rendering | Channels/RemoteSessionARCameraChannel.h | |
| MessageCallbackHandle | FDelegateHandle | So we can manage callback lifetimes properly | Channels/RemoteSessionARCameraChannel.h | |
| PPMaterial | TObjectPtr< UMaterialInterface > | The post process material that the overlay will render with | Channels/RemoteSessionARCameraChannel.h | |
| RenderingTextureIndex | FThreadSafeCounter | Channels/RemoteSessionARCameraChannel.h | ||
| RenderingTextures | TObjectPtr< UTexture2D > | Textures to use when rendering | Channels/RemoteSessionARCameraChannel.h | |
| RenderingTexturesUpdateCount | FThreadSafeCounter | Channels/RemoteSessionARCameraChannel.h | ||
| Role | ERemoteSessionChannelMode | Channels/RemoteSessionARCameraChannel.h | ||
| SceneViewExtension | TSharedPtr< ISceneViewExtension, ESPMode::ThreadSafe > | Channels/RemoteSessionARCameraChannel.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMaterialInterface * GetPostProcessMaterial() |
Returns the post process material to render with. The textures are set on the fly | Channels/RemoteSessionARCameraChannel.h |
Overridden from IRemoteSessionChannel
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const TCHAR * GetType() |
Channels/RemoteSessionARCameraChannel.h | ||
virtual void Tick
(
const float InDeltaTime |
Channels/RemoteSessionARCameraChannel.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void QueueARCameraImage() |
Compresses in the background and queues for sending | Channels/RemoteSessionARCameraChannel.h | |
void ReceiveARCameraImage
(
IBackChannelPacket& Message |
Handles data coming from the client | Channels/RemoteSessionARCameraChannel.h | |
void SendARCameraImage() |
Sends the most recent compressed AR camera image to the remote | Channels/RemoteSessionARCameraChannel.h | |
void UpdateRenderingTexture() |
Updates the next texture to be rendered | Channels/RemoteSessionARCameraChannel.h |
Overridden from FGCObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddReferencedObjects
(
FReferenceCollector& Collector |
Channels/RemoteSessionARCameraChannel.h | ||
virtual FString GetReferencerName() |
Channels/RemoteSessionARCameraChannel.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const TCHAR * StaticType() |
Begin IRemoteSessionChannel implementation | Channels/RemoteSessionARCameraChannel.h |