Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UStaticMeshSocket
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Engine/StaticMeshSocket.h |
Include | #include "Engine/StaticMeshSocket.h" |
Syntax
class UStaticMeshSocket : public UObject
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
bool | bSocketCreatedAtImport | Whether the socket was imported with the asset or created in the editor. |
![]() |
TObjectPtr< class UStaticMesh > | PreviewStaticMesh | |
![]() |
FVector | RelativeLocation | |
![]() |
FRotator | RelativeRotation | |
![]() |
FVector | RelativeScale | |
![]() |
FName | SocketName | Defines a named attachment location on the UStaticMesh. |
![]() |
FString | Tag |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UStaticMeshSocket
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | AttachActor
(
AActor* Actor, |
Utility to associate an actor with a socket |
![]() ![]() |
bool | GetSocketMatrix
(
FMatrix& OutMatrix, |
Utility that returns the current matrix for this socket. |
![]() ![]() |
bool | GetSocketTransform
(
FTransform& OutTransform, |
Utility that returns the current transform for this socket. Returns false if socket was not valid |
![]() |
FChangedEvent & |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |
![]() ![]() |
void | Handles reading, writing, and reference collecting using FArchive. |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FChangedEvent | Broadcasts a notification whenever the socket property has changed. |