Skip to content

ISMPreviewModeViewportClient

Module: SMPreviewEditor

Public Functions

Name
DECLARE_DELEGATE_OneParam(FOnThumbnailCaptured , UTexture2D * )
virtual ~ISMPreviewModeViewportClient() =default
virtual void CaptureThumbnail(UObject * InOwner, FOnThumbnailCaptured InOnThumbnailCaptured, FIntPoint InCaptureSize =FIntPoint(40, 40)) =0
virtual AActor * GetSelectedActor() const =0
virtual bool IsActorSelected() const =0
virtual void OnEditorTick(float DeltaTime) =0

Public Functions Documentation

function DECLARE_DELEGATE_OneParam

DECLARE_DELEGATE_OneParam(
    FOnThumbnailCaptured ,
    UTexture2D * 
)

function ~ISMPreviewModeViewportClient

virtual ~ISMPreviewModeViewportClient() =default

function CaptureThumbnail

virtual void CaptureThumbnail(
    UObject * InOwner,
    FOnThumbnailCaptured InOnThumbnailCaptured,
    FIntPoint InCaptureSize =FIntPoint(40, 40)
) =0

function GetSelectedActor

virtual AActor * GetSelectedActor() const =0

function IsActorSelected

virtual bool IsActorSelected() const =0

function OnEditorTick

virtual void OnEditorTick(
    float DeltaTime
) =0