Choose your operating system:
Windows
macOS
Linux
Module |
|
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 |
bool GetParticleLocation
(
FModuleLocationBoneSocketInstancePayload * InstancePayload,
FParticleEmitterInstance * Owner,
USkeletalMeshComponent * InSkelMeshComponent,
int32 InBoneSocketIndex,
FVector & OutPosition,
FQuat * OutRotation
)
Retrieve the position for the given socket index.
bool true if successful, false if not
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) |