Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Particles > Location > UParticleModuleLocationBoneSocket
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 |
bool GetParticleLocation
&40;
FModuleLocationBoneSocketInstancePayload &42; InstancePayload,
FParticleEmitterInstance &42; Owner,
USkeletalMeshComponent &42; InSkelMeshComponent,
int32 InBoneSocketIndex,
FVector & OutPosition,
FQuat &42; OutRotation
&41;
Remarks
Retrieve the position for the given socket index. bool true if successful, false if not
Parameters
Name | 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) |