Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UStaticMeshSocket |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/StaticMeshSocket.h |
| Include Path | #include "Engine/StaticMeshSocket.h" |
Syntax
UCLASS (HideCategories=Object, HideCategories=Actor, MinimalAPI)
class UStaticMeshSocket : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UStaticMeshSocket
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UStaticMeshSocket
(
const FObjectInitializer& ObjectInitializer |
Engine/StaticMeshSocket.h |
Classes
| Name | Remarks |
|---|---|
| FChangedEvent | Broadcasts a notification whenever the socket property has changed. |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bSocketCreatedAtImport | bool | Whether the socket was imported with the asset or created in the editor. | Engine/StaticMeshSocket.h | |
| PreviewStaticMesh | TObjectPtr< class UStaticMesh > | Engine/StaticMeshSocket.h |
|
|
| RelativeLocation | FVector | Engine/StaticMeshSocket.h |
|
|
| RelativeRotation | FRotator | Engine/StaticMeshSocket.h |
|
|
| RelativeScale | FVector | Engine/StaticMeshSocket.h |
|
|
| SocketName | FName | Defines a named attachment location on the UStaticMesh. | Engine/StaticMeshSocket.h |
|
| Tag | FString | Engine/StaticMeshSocket.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ChangedEvent | FChangedEvent | Broadcasts a notification whenever the socket property has changed. | Engine/StaticMeshSocket.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AttachActor
(
AActor* Actor, |
Utility to associate an actor with a socket | Engine/StaticMeshSocket.h | |
bool GetSocketMatrix
(
FMatrix& OutMatrix, |
Utility that returns the current matrix for this socket. | Engine/StaticMeshSocket.h | |
bool GetSocketTransform
(
FTransform& OutTransform, |
Utility that returns the current transform for this socket. Returns false if socket was not valid | Engine/StaticMeshSocket.h | |
FChangedEvent & OnPropertyChanged() |
Engine/StaticMeshSocket.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Engine/StaticMeshSocket.h | ||
virtual void Serialize
(
FArchive& Ar |
Engine/StaticMeshSocket.h |