Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- USkeletalMeshSocket
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Engine/SkeletalMeshSocket.h |
Include | #include "Engine/SkeletalMeshSocket.h" |
Syntax
class USkeletalMeshSocket : public UObject
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
bool | bForceAlwaysAnimated | If true then the hierarchy of bones this socket is attached to will always be evaluated, even if it had previously been removed due to the current lod setting |
![]() |
FName | BoneName | |
![]() |
FVector | RelativeLocation | |
![]() |
FRotator | RelativeRotation | |
![]() |
FVector | RelativeScale | |
![]() |
FName | SocketName | Defines a named attachment location on the USkeletalMesh. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
USkeletalMeshSocket
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | AttachActor
(
AActor* Actor, |
Utility to associate an actor with a socketUtility to associate an actor with a socket |
![]() |
void | CopyFrom
(
const USkeletalMeshSocket* OtherSocket |
Utility function to copy socket. |
![]() ![]() |
FTransform | Returns FTransform of Socket local transform | |
![]() ![]() |
FVector | GetSocketLocation
(
const USkeletalMeshComponent* SkelComp |
|
![]() ![]() |
bool | GetSocketMatrix
(
FMatrix& OutMatrix, |
Utility that returns the current matrix for this socket. |
![]() ![]() |
bool | GetSocketMatrixWithOffset
(
FMatrix& OutMatrix, |
Utility that returns the current matrix for this socket with an offset. |
![]() ![]() |
bool | GetSocketPositionWithOffset
(
FVector& OutPosition, |
Utility that returns the current position of this socket with an offset. |
![]() ![]() |
FTransform | GetSocketTransform
(
const USkeletalMeshComponent* SkelComp |
Utility that returns the current transform for this socket. |
![]() |
void | InitializeSocketFromLocation
(
const USkeletalMeshComponent* SkelComp, |
Sets BoneName, RelativeLocation and RelativeRotation based on closest bone to WorldLocation and WorldNormal |
![]() |
FSocketChangedEvent & |
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 | |
---|---|---|---|
![]() |
FSocketChangedEvent | Broadcasts a notification whenever the socket property has changed. |