UStaticMeshSocket::AttachActor

Utility to associate an actor with a socket

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Engine/StaticMeshSocket.h"

Source

/Engine/Source/Runtime/Engine/Private/StaticMesh.cpp

Syntax

bool AttachActor
(
    AActor * Actor,
    class UStaticMeshComponent * MeshComp
) const

Remarks

Utility to associate an actor with a socket

Returns

bool true if successful, false if not

Parameters

Parameter

Description

Actor

The actor to attach to the socket

MeshComp

The static mesh component associated with this socket.

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