TSharedFromThis

Derive your class from [TSharedFromThis](API\Runtime\Core\Templates\TSharedFromThis) to enable access to a [TSharedRef](API\Runtime\Core\Templates\TSharedRef) directly from an object instance that's already been allocated.

Windows
MacOS
Linux

Inheritance Hierarchy

TSharedFromThis

FAggregator

FAIMessageObserver

FAnalogCursor

FApplicationMode

FBlueprintComponentsApplicationMode

FBlueprintDefaultsApplicationMode

FBlueprintEditorApplicationMode

FBlueprintEditorUnifiedMode

FBlueprintInterfaceApplicationMode

FBlueprintMacroApplicationMode

FARSupportInterface

FARSystemProxy

FAssetEditorModeManager

IPersonaEditorModeManager

FAssetEditorToolkit

FSimpleAssetEditor

FWorkflowCentricApplication

FDMXEditor

IAnimationEditor

IBehaviorTreeEditor

IBlueprintEditor

FBlueprintEditor

FGameplayAbilitiesEditor

FWidgetBlueprintEditor

IAnimationBlueprintEditor

IControlRigEditor

IPhysicsAssetEditor

ISkeletalMeshEditor

ISkeletonEditor

ICascade

ICurveAssetEditor

ICurveTableEditor

IDataTableEditor

IEnvironmentQueryEditor

IFontEditor

ILevelSequenceEditorToolkit

IMaterialEditor

IMatinee

ISoundClassEditor

ISoundCueEditor

ISoundSubmixEditor

IStaticMeshEditor

IStringTableEditor

ITextureEditorToolkit

ITranslationEditor

IUserDefinedEnumEditor

IUserDefinedStructureEditor

FAssetEditorViewportLayout

FEditorViewportLayout2x2

FEditorViewportLayoutFourPanes

FEditorViewportLayoutFourPanesBottom

FEditorViewportLayoutFourPanesLeft

FEditorViewportLayoutFourPanesRight

FEditorViewportLayoutFourPanesTop

FEditorViewportLayoutOnePane

FEditorViewportLayoutThreePanes

FEditorViewportLayoutThreePanesBottom

FEditorViewportLayoutThreePanesLeft

FEditorViewportLayoutThreePanesRight

FEditorViewportLayoutThreePanesTop

TEditorViewportLayoutTwoPanes

FEditorViewportLayoutTwoPanesHoriz

FEditorViewportLayoutTwoPanesVert

FAssetThumbnail

FAudioSection

FAutomationSpecBase

FAvatarInfo

FBaseMeshPaintComponentAdapter

FMeshPaintSkeletalMeshComponentAdapter

FMeshPaintStaticMeshComponentAdapter

FMeshPaintSplineMeshComponentAdapter

FBaseTimingTrack

FGraphTrack

FRandomGraphTrack

FTimingEventsTrack

FBindingContext

TCommands

FAnimGraphCommands

FBufferVisualizationMenuCommands

FCurveEditorCommands

FDatasmithUICommands

FDMXEditorCommandsImpl

FEditorViewportCommands

FFullBlueprintEditorCommands

FGenericCommands

FGlobalEditorCommonCommands

FGraphEditorCommandsImpl

FLevelEditorCommands

FLevelEditorModesCommands

FLevelViewportCommands

FLogWidgetCommands

FMaterialEditorCommands

FMaterialEditorSpawnNodeCommands

FMeshEditorAnyElementCommands

FMeshEditorCommonCommands

FMeshEditorEdgeCommands

FMeshEditorFractureCommands

FMeshEditorPolygonCommands

FMeshEditorSelectionModifiers

FMeshEditorVertexCommands

FMeshPaintEditorModeCommands

FMeshPainterCommands

FModelingModeActionCommands

FModelingToolsManagerCommands

FNiagaraEditorCommands

FNiagaraParameterPanelCommands

FPersonaCommonCommands

FPlayWorldCommands

FPListEditorCommands

FRayTracingDebugVisualizationMenuCommands

FSequencerCommands

FShowFlagMenuCommands

FSoundClassEditorCommands

FSoundCueGraphEditorCommands

FStandardToolModeCommands

FStaticMeshEditorCommands

FTabCommands

FTranslationEditorCommands

FViewportNavigationCommands

TInteractiveToolCommands

FDrawPolygonToolActionCommands

FEditMeshPolygonsToolActionCommands

FMeshPaintingToolActionCommands

FMeshPlaneCutToolActionCommands

FMeshSelectionToolActionCommands

FModelingToolActionCommands

FSculptToolActionCommands

FTransformToolActionCommands

FBlacklistNames

FBlacklistPaths

FBlueprintCompileReinstancer

FBlueprintEditorToolbar

FBuildPatchServicesPreLoadManagerBase

FCarouselDisplayItem

FChatSlashCommand

FChannelChangeSlashCommand

FFounderChannelSlashCommand

FGlobalChannelSlashCommand

FPartyChannelSlashCommand

FTeamChannelSlashCommand

FInteractionCommandWrapper

FReplySlashCommand

FComponentClassComboEntry

FComponentVisualizer

FConstraintComponentVisualizer

FDecalComponentVisualizer

FPhysicsAnimationComponentVisualizer

FPointLightComponentVisualizer

FRadialForceComponentVisualizer

FRectLightComponentVisualizer

FSensingComponentVisualizer

FSplineComponentVisualizer

FSplineMeshComponentVisualizer

FSpotLightComponentVisualizer

FSpringArmComponentVisualizer

FSpringComponentVisualizer

FStereoLayerComponentVisualizer

TAttenuatedComponentVisualizer

FAudioComponentVisualizer

FForceFeedbackComponentVisualizer

FConcertSessionActivitiesOptions

FConfigPropertyConfigFileStateCellPresenter

FCurveEditor

FCurveSequence

FDatasmithFBXSceneNode

FDefaultSpectatorScreenController

FDesignerExtension

FDesignerSurfaceElement

FDiffResultItem

FDMXEntityEntry

FDocumentTracker

FDragDropOperation

FBoneDragDropOp

FBrushBuilderDragDropOp

FClassDragDropOp

FColorDragDrop

FDecoratedDragDropOp

FActorDragDropOp

FActorDragDropGraphEdOp

FAssetDragDropOp

FCollectionDragDropOp

FFolderDragDropOp

FGraphNodeDragDropOp

FLayerDragDropOp

FLayersDragDropOp

FLevelDragDropOp

FMultipleDataDragOp

FNiagaraParameterDragOperation

FNiagaraStackEntryDragDropOp

FSubComponentDragDropOp

FDragAndDropVerticalBoxOp

FExportTextDragDropOp

FExternalDragOperation

FGameDragDropOperation

FUMGDragDropOp

FGraphEditorDragDropAction

FGraphSchemaActionDragDropAction

FNiagaraParameterGraphDragOperation

FSequencerObjectBindingDragDropOp

FSceneOutlinerDragDropOp

FSocketDragDropOp

FUICommandDragDropOp

FEditorViewportTabContent

FEdMode

FEdModeDefault

FEdModeGeometry

FEdModeInterpEdit

FEdModeTexture

FFractureEditorMode

FModelingToolsEditorMode

FPhysicsDebugMode

FPhysicsManipulationEdMode

FSampleToolsEditorMode

IMeshPaintEdMode

FEdModeMeshPaint

IPersonaEditMode

IAnimNodeEditMode

FAnimNodeEditMode

IPlacementMode

FFbxAttributeInfo

FFbxMaterialInfo

FFbxMeshInfo

FFbxTextureInfo

FFbxCameraInfo

FFbxLightInfo

FFbxMaterialInfo

FFbxMeshInfo

FFbxNodeInfo

FFbxSceneInfo

FFbxTextureInfo

FFindInBlueprintsResult

FFindInBlueprintsGraph

FFindInBlueprintsGraphNode

FFindInBlueprintsNoResult

FFindInBlueprintsPin

FFindInBlueprintsProperty

FFindTurnBasedMatchCallbackProxyMatchmakerDelegate

FGameModeInfoCustomizer

FGameplayDebuggerAddonBase

FGameplayDebuggerCategory

FGameplayDebuggerExtension

FGenericQueuedLocalFileRequest

FGeometryCacheSection

FGeometryCollectionTrackSection

FGraphPanelNodeFactory

FGraphPanelPinConnectionFactory

FSoundSubmixGraphConnectionDrawingPolicyFactory

FGraphPanelPinFactory

FBlueprintGraphPanelPinFactory

FDMXGraphPanelPinFactory

FHoloLensARSystem

FHoloLensWindow

FHTNDomain

FImagePixelDataPayload

FImaginaryFiBData

FCategorySectionHelper

FFiBMetaData

FImaginaryBlueprint

FImaginaryGraph

FImaginaryGraphNode

FImaginaryPin

FImaginaryProperty

FImaginaryComponent

FLayoutExtender

FLevelEditorSequencerBindingData

FLevelViewportLayout

FLevelViewportTabContent

FLocalFileNetworkReplayStreamer

FLocalizationCommandletProcess

FMaterialList

FMediaPlayerFacade

FMessageEndpoint

FMobilityCustomization

FModeToolkit

FFractureEditorModeToolkit

FModelingToolsEditorModeToolkit

FSampleToolsEditorModeToolkit

FTextureAlignMode

FMovieSceneCaptureBase

FInEditorCapture

FNewProcessCapture

FMovieSceneChannelProxy

FMovieSceneExportData

FMovieSceneImportData

FMovieSceneSpawnRegister

FLevelSequenceSpawnRegister

FLevelSequenceEditorSpawnRegister

FTemplateSequenceSpawnRegister

FNullMovieSceneSpawnRegister

FMovieSceneTrackEditor

FAudioTrackEditor

FGeometryCacheTrackEditor

FGeometryCollectionTrackEditor

FKeyframeTrackEditor

FPropertyTrackEditor

FBoolPropertyTrackEditor

FSpawnTrackEditor

FMaterialTrackEditor

FComponentMaterialTrackEditor

FSubTrackEditor

FMovieSceneTranslatorContext

FMovieViewport

FMultiBlock

FToolBarButtonBlock

FToolBarComboButtonBlock

FMultiBox

FNameSelectorGenerator

FEndpointSubmixDetailsCustomization

FSoundfieldEndpointSubmixDetailsCustomization

FNavDataGenerator

FNavigationConfig

FNullNavigationConfig

FNavigationOctree

FNavigationPath

FAbstractNavigationPath

FNavMeshPath

FMetaNavMeshPath

FNavigationQueryFilter

FNavigationRelevantData

FNavMeshSceneProxyData

FNetAnalyticsData

TBasicNetAnalyticsData

FNetConnAnalyticsData

FNiagaraDataInterfaceProxy

FNDIHairStrandsProxy

FNDIPhysicsAssetProxy

FNDIPressureGridProxy

FNiagaraDataIntefaceProxyCameraQuery

FNiagaraDataIntefaceProxyCollisionQuery

FNiagaraDataIntefaceProxyOcclusionQuery

FNiagaraDataInterfaceProxyChaosDestruction

FNiagaraDataInterfaceProxyCurlNoise

FNiagaraDataInterfaceProxyCurveBase

FNiagaraDataInterfaceProxyHoudiniCSV

FNiagaraDataInterfaceProxyOscilloscope

FNiagaraDataInterfaceProxyRW

FNiagaraDataInterfaceProxyGrid2DCollectionProxy

FNiagaraDataInterfaceProxyNeighborGrid3D

FNiagaraDataInterfaceProxySkeletalMesh

FNiagaraDataInterfaceProxyStaticMesh

FNiagaraDataInterfaceProxySubmix

FNiagaraDataInterfaceProxySpectrum

FNiagaraDataInterfaceProxyTexture

FNiagaraDataInterfaceProxyVectorField

FNiagaraDataInterfaceProxyVolumeTexture

FNiagaraEditorTypeUtilities

FNiagaraEmitterHandleViewModel

FNiagaraEmitterViewModel

FNiagaraOverviewGraphViewModel

FNiagaraScriptViewModel

FNiagaraScratchPadScriptViewModel

FNiagaraSystemSimulation

FNiagaraSystemViewModel

FOnlineIdentityTwitch

FOnlineParty

FOnlinePartyData

FOnlinePartyId

FPartyConfiguration

FPendingDelete

FPlayTimeLimitUser

FPlayTimeLimitUserMock

FPopupLayer

FOverlayPopupLayer

FPreLoadMoviePlayerScreenBase

FQosInterface

FQueuedReplayTask

FRegisteredSlashCommands

FRepLayout

FReplayPlaylistTracker

FRigControlTreeElement

FRigVMParserAST

FSceneViewExtensionBase

FDefaultStereoLayers

FDefaultXRCamera

FMotionDelayClient

UMotionControllerComponent::FViewExtension

FSCSEditorTreeNode

FSCSEditorTreeNodeComponentBase

FSCSEditorTreeNodeComponent

FSCSEditorTreeNodeInstanceAddedComponent

FSCSEditorTreeNodeInstancedInheritedComponent

FSCSEditorTreeNodeRootActor

FSCSEditorTreeNodeSeparator

FSectionList

FSequencerTimeSliderController

FShaderFormatsPropertyDetails

FSharedOutlinerData

FSlateDynamicImageBrush

FSlateHyperlinkRun

FSlateImageRun

FSlateTextRun

FSlatePasswordRun

FSlateUser

FSlateWidgetRun

FSocialChatMessage

FSocialLocalChatMessage

FSocialSystemChatMessage

FSocialUserChatMessage

FDesignerPreviewSocialUserChatMessage

FSocialQueryBase

TSocialQuery

FStreamableHandle

FStringTable

FTabInfo

FTabManager

FGlobalTabmanager

FProxyTabmanager

FTabManager::FLayout

FTabManager::FLayoutNode

FTabManager::FSplitter

FTabManager::FArea

FTabManager::FStack

FTextFormatPatternDefinition

FTextLayout

FSlateTextLayout

FThumbnailSection

FViewportThumbnailSection

FTokenizedMessage

FTrackEditorThumbnail

FTreeMapNodeData

FUICommandList

FUICommandList_Pinnable

FUniqueNetId

FUniqueNetIdString

FVariantManager

FWidgetTemplate

FWorkflowTabFactory

FCompilerResultsSummoner

FDocumentTabFactory

FDocumentTabFactoryForObjects

FSelectionDetailsSummoner

FWorkspaceItem

FTabSpawnerEntry

FXRSwapChain

IAccessibleWidget

IAssetTypeActions

FAssetTypeActions_Base

FAssetTypeActions_AnimationSharingSetup

FAssetTypeActions_AudioImpulseResponse

FAssetTypeActions_ChaosSolver

FAssetTypeActions_ClassTypeBase

FAssetTypeActions_Blueprint

FAssetTypeActions_CSVAssetBase

FAssetTypeActions_FieldSystem

FAssetTypeActions_GameplayTagAssetBase

FAssetTypeActions_GeometryCache

FAssetTypeActions_GeometryCollection

FAssetTypeActions_GeometryCollectionCache

FAssetTypeActions_ITDSpatializationSettings

FAssetTypeActions_ModularSynthPresetBank

FAssetTypeActions_MonoWaveTableSynthPreset

FAssetTypeActions_RuntimeVirtualTexture

FAssetTypeActions_SoundBase

FAssetTypeActions_TimeSynthClip

FAssetTypeActions_TimeSynthVolumeGroup

FGroomActions

FGroomBindingActions

FHoudiniCSVAssetActions

IAsyncFileCacheTask

FAsyncDirectoryReader

FAsyncFileHasher

IAutomationLatentCommand

FAddStaticMeshCommand

FAITestCommand_PerformTest

FAITestCommand_SetUpTest

FAITestCommand_TearDownTest

FAITestCommand_WaitOneTick

FAITestCommand_WaitSeconds

FAutomationSpecBase::FAsyncLatentCommand

FAutomationSpecBase::FAsyncUntilDoneLatentCommand

FAutomationSpecBase::FSingleExecuteLatentCommand

FAutomationSpecBase::FUntilDoneLatentCommand

FBuildLightingCommand

FChangeViewportToFirstAvailableBookmarkCommand

FCloseAllAssetEditorsCommand

FDelayedFunctionLatentCommand

FDeleteDirCommand

FEditorLoadMap

FEndPlayMapCommand

FFunctionLatentCommand

FLaunchOnCommand

FOpenEditorForAssetCommand

FSaveLevelCommand

FStartFTestOnMap

FStartFTestsOnMap

FStartPIECommand

FThreadedAutomationLatentCommand

FTriggerFTest

FTriggerFTests

FUndoRedoCommand

FUntilCommand

FWaitForFTestsToFinish

FWaitForShadersToFinishCompiling

FWaitToFinishBuildDeployCommand

FWaitToFinishCookByTheBookCommand

IAutomationNetworkCommand

IAutomationReport

IClassTypeActions

FClassTypeActions_Base

IDetailCustomization

FAttributeDetails

FClothCreateSettingsCustomization

FDatasmithSceneDetails

FEndpointSubmixDetailsCustomization

FInternationalizationSettingsModelDetails

FMaterialShaderQualitySettingsCustomization

FMovieSceneSectionDetailsCustomization

FRuntimeVirtualTextureComponentDetailsCustomization

FRuntimeVirtualTextureDetailsCustomization

FSkinWeightImportOptionsCustomization

FSoundCueContainerDetailCustomization

FSoundCueDistanceCrossfadeDetailCustomization

FSoundfieldEndpointSubmixDetailsCustomization

FSoundfieldSubmixDetailsCustomization

FSpeedTreeImportDataDetails

FSteamVRSettingsDetailsCustomization

IDetailRootObjectCustomization

IDMXProtocolBase

IDMXProtocol

IEditorModeFactory

FEditorModeFactory

FPhysicsManipulationEdModeFactory

FScriptableEditorModeFactory

IEditorViewportLayoutEntity

ILevelViewportLayoutEntity

IGameLayer

IHttpRequest

FHttpRequestImpl

FHttpRequestAdapterBase

FRequest

IHttpRouter

IInstallBundleSource

IKeyArea

ILocalizationServiceOperation

FConnectToProvider

FDownloadLocalizationTargetFile

FUploadLocalizationTargetFile

ILocalizationServiceRevision

ILocalizationServiceState

ILoginFlowManager

FLoginFlowManager

IMessageSanitizer

IMessageToken

FActionToken

FAssetNameToken

FDocumentationToken

FFbxErrorToken

FMapErrorToken

FDynamicTextToken

FEdGraphToken

FImageToken

FNiagaraCompileEventToken

FSeverityToken

FTextToken

FTutorialToken

FUObjectToken

FURLToken

IMovieSceneBlendingActuator

TMovieSceneBlendingActuator

TPropertyActuator

INetDeltaBaseState

FNetFastTArrayBaseState

INiagaraParameterPanelViewModel

FNiagaraScriptToolkitParameterPanelViewModel

FNiagaraSystemToolkitParameterPanelViewModel

INiagaraScriptGraphFocusInfo

FNiagaraScriptGraphNodeToFocusInfo

FNiagaraScriptGraphPinToFocusInfo

IOnlinePartyJoinInfo

IOnlinePartyPendingJoinRequestInfo

IOnlineTournament

IOnlineTournamentDetails

IOnlineTournamentMatchDetails

IOnlineTournamentParticipantDetails

IOnlineTournamentTeamDetails

IPluginWizardDefinition

IPropertyHandle

IPropertyTypeCustomization

FAnimationSetupCustomization

FAnimationStateEntryCustomization

FAttributePropertyDetails

FCurveTableCustomizationLayout

FFrameNumberDetailsCustomization

FGeomComponentCacheParametersCustomization

FGuidStructCustomization

FLevelEditorPlayNetworkEmulationSettingsDetail

FMathStructCustomization

FColorStructCustomization

FMediaIOCustomizationBase

FMediaIOConfigurationCustomization

FMediaIODeviceCustomization

FMediaIOInputConfigurationCustomization

FMediaIOOutputConfigurationCustomization

FMovieSceneEventCustomization

FMovieSceneObjectBindingIDCustomization

FNiagaraEventScriptPropertiesCustomization

FPerSkeletonAnimationSharingSetupCustomization

FScalableFloatDetails

FSlateBrushStructCustomization

FSlateFontInfoStructCustomization

IStructCustomization

ISceneOutlinerColumn

ISequencer

ISequenceRecorderExtender

ISkeletonTreeItem

FSkeletonTreeItem

ISlate3DRenderer

ISourceCodeNavigationHandler

ISourceControlLabel

ISourceControlOperation

FSourceControlOperationBase

FCheckIn

FCheckOut

FConnect

FCopy

FDelete

FMarkForAdd

FResolve

FRevert

FSync

FUpdateStatus

ISourceControlRevision

ISourceControlState

ITreeItem

FActorTreeItem

FComponentTreeItem

FFolderTreeItem

FSubComponentTreeItem

FWorldTreeItem

IVoiceCapture

IVoiceDecoder

IVoiceEncoder

IWorldTreeItem

SGameLayerManager::FPlayerLayer

SItemSelector::FItemSelectorViewModel

SWidget

SCompoundWidget

IAnimationSequenceBrowser

IAnimSequenceCurveEditor

IDetailsView

IDistributionCurveEditor

ILevelEditor

IObjectNameEditableTextBox

IPersonaViewport

IPinnedCommandList

ISceneOutliner

ICustomSceneOutliner

SSceneOutliner

ISinglePropertyView

ISkeletonTree

ISocketManager

IStatsViewer

ITimeSlider

ITransportControl

SAboutScreen

SAdvancedPreviewDetailsTab

SAnimationCompressionSelectionDialog

SAnimationRemapAssets

SAnimationRemapSkeleton

SAppIconWidget

SAssetPickerButton

SAssetSearchBox

SAssetTagItem

SBackgroundBlur

SBarVisualizer

SBlueprintDiff

SBlueprintRevisionMenu

SBoneMappingBase

SBoneSelectionWidget

SBoneTreeMenu

SBorder

SBuildProgressWidget

SButton

SHyperlink

SRichTextHyperlink

SCarouselNavigationButton::SPeekBorder

SDockTab

SLiveLinkCurveDebugUITab

SEditableTextBox

SSearchBox

SErrorText

SExpandableButton

SGraphEditorActionMenu

SGraphEditorActionMenuAI

SGraphPin

SGraphPinAI

SGraphPinBool

SGraphPinColor

SGraphPinExec

SGraphPinNameList

SGraphPinDataTableRowName

SGraphPinNum

SGraphPinInteger

SGraphPinObject

SGraphPinClass

SGraphPinString

SGraphPinVector

SGraphPinVector2D

SGraphPinVector4

SHeaderRow

SMultiLineEditableTextBox

SScrollBar

SSeparator

STableRow

SAssetTagItemTableRow

SComboRow

SItemSelector::SItemSelectorItemContainerTableRow

SMultiColumnTableRow

SAssetEntryRow

SBoneMappingListRow

SBonePairRow

SEventItem

SLiveLinkCurveDebugUIListItem

SOptionTableRow

SSceneOutlinerTreeRow

SSCS_RowWidget

SSCS_RowWidget_ActorRoot

SSCS_RowWidget_Separator

SMultiSelectTableRow

SBreadcrumbTrail

SCarouselNavigationBar

SCarouselNavigationButton

SCheckBox

SClassPickerDialog

SClassPropertyEntryBox

SClassViewer

SColorGradingPicker

SColorPicker

SColorThemeBar

SColorThemesViewer

SColorTrash

SCommentBubble

SComplexGradient

SConcertScrollBox

SConcertSessionActivities

SConcertSessionRecovery

SContentReference

SCreateAssetFromObject

SCreateClothingSettingsPanel

SCreditsScreen

SCSVImportOptions

SCulturePicker

SCurveEditor

SCurveEditorFilterPanel

SCurveEditorPanel

SCurveEditorTreeFilterStatusBar

SCurveEditorTreePin

SCurveEditorTreeTextFilter

SCurveEditorView

SCurveViewerPanel

SInteractiveCurveEditorView

SCurveEditorViewAbsolute

SCurveEditorViewNormalized

SCurveEditorViewStacked

SCurveKeyDetailPanel

SDatasmithOptionsWindow

SDecoratedEnumCombo

SDefaultGraphActionWidget

SDeleteAssetsDialog

SDirectoryPicker

SDMXEntityPickerButton

SDocumentationToolTip

SDropTarget

SAssetDropTarget

SDynamicLayoutBox

SEditableComboBox

SEditorViewport

SAssetEditorViewport

SBasePoseViewport

SLevelViewport

SEditorViewportToolBarButton

SEditorViewportToolbarMenu

SEditorViewportViewMenu

SErrorHint

SEventsTree

SExpandableArea

SExpanderArrow

SExtensionPanel

SExternalImageReference

SFilePathPicker

SFilterableObjectList

SFindInBlueprints

SFindInMaterial

SFrameRateEntryBox

SFrameRatePicker

SFxWidget

SGameLayerManager

SGenericDialogWidget

SGlobalPlayWorldActions

SGraphActionMenu

SGraphEditor

SGraphPalette

SGraphPaletteItem

SGraphPreviewer

SGridLineSpacingList

SHyperlinkLaunchURL

SInlineEditableTextBlock

SInputKeySelector

SInvalidationPanel

SItemSelector

SKeyEditInterface

SKeySelector

SKismetInspector

SKismetLinearExpression

SLayerHandle

SLevelOfDetailBranchNode

SListViewSelectorDropdownMenu

SDMXEntityDropdownMenu

SLiveLinkSubjectRepresentationPicker

SLogWidget

SMaterialSlotWidget

SMatineeRecorder

SMediaImage

SMediaPermutationsSelector

SMenuOwner

SMultiBoxWidget

SMiniCurveEditor

SModeWidget

SMultiBlockBaseWidget

SToolBarButtonBlock

SToolBarComboButtonBlock

SMultipleOptionTable

SNameComboBox

SNameListPicker

SNiagaraAddParameterMenu

SNiagaraAddParameterMenu2

SNiagaraGraphActionWidget

SNiagaraLibraryOnlyToggleHeader

SNiagaraParameterEditor

SNiagaraParameterMapView

SNiagaraParameterName

SNiagaraParameterNameTextBlock

SNiagaraParameterNamePinLabel

SNiagaraParameterPanel

SNiagaraScriptGraph

SNiagaraSelectedObjectsDetails

SNodeTitle

SNotificationItem

SNotificationList

SNumericDropDown

SNumericEntryBox

SObjectBindingTag

SObjectBindingTags

SObjectPropertyEntryBox

SObjectWidget

SObjectTableRow

SOutputLogDialog

SPackageDetails

SPerPlatformPropertiesWidget

SPinComboBox

SPinTypeSelector

SPlatformSetupMessage

SPListEditorPanel

SPopup

SPoseAssetNameWidget

SProperty

SReferenceTree

SRemapFailures

SResetToDefaultMenu

SRetainerWidget

SRotatorInputBox

SScalabilitySettings

SScaleBox

SScrollBorder

SScrollBox

SScrubControlPanel

SScrubWidget

SSCSEditor

SSettingsEditorCheckoutNotice

SSimpleGradient

SSimplePreLoadScreenWidget

SSingleObjectDetailsPanel

SSkeletonBoneRemoval

SSkeletonSelectorWindow

SSkeletonWidget

SSkeletonCompareWidget

SSkeletonListWidget

SSkinWeightProfileImportOptions

SSpinBox

SSplineGeneratorPanel

SStructPropertyEntryBox

SSubMenuHandler

SSuggestionTextBox

STableViewBase

SListView

STileView

STreeView

SCurveEditorTree

SOutlinerTreeView

SSCSEditorDragDropTree

STextComboBox

STextComboPopup

STextEntryPopup

STextPropertyEditableStringTableReference

STextPropertyEditableTextBox

SThemeColorBlock

SThrobber

STimecodeProvider

STimeline

SToolTip

SUndoHistoryDetails

SUserWidget

SLiveLinkCurveDebugUI

SVectorInputBox

SVerticalResizeBox

SViewport

SViewportToolBar

SCommonEditorViewportToolbarBase

STransformViewportToolBar

SViewportToolBarComboMenu

SViewportToolBarIconMenu

SVolumeControl

SVPBookmarkListView

SWebBrowser

SWebBrowserView

SWidgetCarousel

SWidgetCarouselWithNavigation

SWindow

SCreateAnimationAssetDlg

SCustomDialog

SDlgPickAssetPath

SDlgPickPath

SLogWindow

SSelectFolderDlg

SVirtualWindow

SWindowTitleBar

SWizard

SWorldWidgetScreenLayer

SEditableText

SLeafWidget

SCircularThrobber

SColorBlock

SColorGradientEditor

SColorGradingWheel

SColorSpectrum

SColorWheel

SGraphBar

SImage

SSpinningImage

SMeshWidget

SProgressBar

SSlider

SSpacer

FDetailWidgetDecl::SInvalidDetailWidget

SSynth2DSlider

SSynthKnob

STextBlock

STimecode

STreeMap

SVirtualJoystick

SVirtualKeyboardEntry

SMultiLineEditableText

SPanel

SBox

SEnableBox

SSafeZone

SBoxPanel

SHorizontalBox

SHeader

SVerticalBox

SDragAndDropVerticalBox

SCanvas

SConstraintCanvas

SDPIScaler

SGridPanel

SMenuAnchor

SComboButton

SComboBox

SEnumComboBox

SComponentClassCombo

SPopupErrorText

SSearchableComboBox

SNodePanel

SGraphPanel

SNodePanel::SNode

SGraphNode

SGraphNodeAI

SGraphNodeDefault

SGraphNodeKnot

SGraphNodeK2Base

SGraphNodeK2Composite

SGraphNodeK2Default

SGraphNodeK2Event

SGraphNodeResizable

SGraphNodeComment

SGraphNodeDocumentation

SOverlay

SSynthTooltip

SResponsiveGridPanel

SScissorRectBox

SScrollBarTrack

SScrollPanel

SSplitter

SSplitter2x2

SThemeColorBlocksBar

STooltipPresenter

SUniformGridPanel

SWidgetSwitcher

SWindowTitleBarArea

SWrapBox

SRichTextBlock

SWeakWidget

TDelegateFilter

TFilterCollection

FOutlinerFilters

TGenericQueuedLocalFileRequest

TGenericCachedLocalFileRequest

TTextFilter

USocialManager::FRejoinableParty

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Templates/SharedPointer.h

Include

#include "Templates/SharedPointer.h"

Syntax

template<class ObjectType, ESPMode Mode>
class TSharedFromThis

Remarks

Derive your class from TSharedFromThis to enable access to a TSharedRef directly from an object instance that's already been allocated. Use the optional Mode template argument for thread-safety.

Constructors

Name Description

Protected function

TSharedFromThis()

Hidden stub constructor

Protected function

TSharedFromThis

(
    TSharedFromThis const&
)

Hidden stub copy constructor

Destructors

Name Description

Protected function

~TSharedFromThis()

Hidden destructor

Functions

Name Description

Public function

TSharedRef < ...

 

AsShared()

Provides access to a shared reference to this object.

Public function Const

TSharedRef < ...

 

AsShared()

Provides access to a shared reference to this object (const.) Note that is only valid to call this after a shared reference (or shared pointer) to the object has already been created.

Public function Const

bool

 

DoesSharedInstanceExist()

Checks whether our referenced instance is valid (ie, whether it's safe to call AsShared).

Protected function Static

TSharedRef < ...

 

SharedThis

(
    OtherType * ThisPtr
)

Provides access to a shared reference to an object, given the object's 'this' pointer.

Protected function Static

TSharedRef < ...

 

SharedThis

(
    const OtherType * ThisPtr
)

Provides access to a shared reference to an object, given the object's 'this' pointer.

Public function Const

void

 

UpdateWeakReferenceInternal

(
    TSharedPtr < SharedPtrType, Mode > c...,
    OtherType * InObject
)

INTERNAL USE ONLY Do not call this method.

Public function Const

void

 

UpdateWeakReferenceInternal

(
    TSharedRef < SharedRefType, Mode > c...,
    OtherType * InObject
)

INTERNAL USE ONLY Do not call this method.

Operators

Name Description

Protected function

TSharedFromT ...

 

operator=

(
    TSharedFromThis const&
)

Hidden stub assignment operator

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback