UParticleModuleLocationBoneSocket::GetParticleLocation

Retrieve the position for the given socket index.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Particles/Location/ParticleModuleLocationBoneSocket.h

Include

#include "Particles/Location/ParticleModuleLocationBoneSocket.h"

Source

/Engine/Source/Runtime/Engine/Private/Particles/ParticleModules_Location.cpp

Syntax

bool GetParticleLocation
(
    FModuleLocationBoneSocketInstancePayload * InstancePayload,
    FParticleEmitterInstance * Owner,
    USkeletalMeshComponent * InSkelMeshComponent,
    int32 InBoneSocketIndex,
    FVector & OutPosition,
    FQuat * OutRotation
)

Remarks

Retrieve the position for the given socket index.

Returns

bool true if successful, false if not

Parameters

Parameter

Description

Owner

The particle emitter instance that is being setup

InSkelMeshComponent

The skeletal mesh component to use as the source

InBoneSocketIndex

The index of the bone/socket of interest

OutPosition

The position for the particle location

OutRotation

Optional orientation for the particle (mesh emitters)

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