USpringArmComponent::GetSocketTransform

Get world-space socket transform.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

USceneComponent::GetSocketTransform()

USpringArmComponent::GetSocketTransform()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/SpringArmComponent.h

Include

#include "GameFramework/SpringArmComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/GameFramework/SpringArmComponent.cpp

Syntax

virtual FTransform GetSocketTransform
(
    FName InSocketName,
    ERelativeTransformSpace TransformSpace
) const

Remarks

Get world-space socket transform.

Returns

Socket transform in world space if socket if found. Otherwise it will return component's transform in world space.

Parameters

Parameter

Description

InSocketName

Name of the socket or the bone to get the transform