UStaticMeshSocket

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/StaticMeshSocket.h

Include

#include "Engine/StaticMeshSocket.h"

Syntax

class UStaticMeshSocket : public UObject

Variables

Name Description

Public variable

bool

 

bSocketCreatedAtImport

Weather the socket was imported with the asset or create in the editor.

Public variable

UStaticMesh ...

 

PreviewStaticMesh

Public variable

FVector

 

RelativeLocation

Public variable

FRotator

 

RelativeRotation

Public variable

FVector

 

RelativeScale

Public variable

FName

 

SocketName

Defines a named attachment location on the UStaticMesh.

Public variable

FString

 

Tag

Constructors

Name Description

Public function

UStaticMeshSocket

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Const

bool

 

AttachActor

(
    AActor* Actor,
    UStaticMeshComponent* MeshComp
)

Utility to associate an actor with a socket

Public function Const

bool

 

GetSocketMatrix

(
    FMatrix& OutMatrix,
    UStaticMeshComponent const* Me...
)

Utility that returns the current matrix for this socket.

Public function Const

bool

 

GetSocketTransform

(
    FTransform& OutTransform,
    UStaticMeshComponent const* Me...
)

Utility that returns the current transform for this socket. Returns false if socket was not valid

Public function

FChangedEven...

 

OnPropertyChanged()

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally

Public function Virtual

void

 

Serialize

(
    FArchive& Ar
)

Handles reading, writing, and reference collecting using FArchive.

Classes

Name

Description

Public class

FChangedEvent

Broadcasts a notification whenever the socket property has changed.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss