Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Particles > Location > UParticleModuleLocationSkelVertSurface
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Particles/Location/ParticleModuleLocationSkelVertSurface.h |
Include | #include "Particles/Location/ParticleModuleLocationSkelVertSurface.h" |
Source | /Engine/Source/Runtime/Engine/Private/Particles/ParticleModules_Location.cpp |
bool GetParticleLocation
&40;
FParticleEmitterInstance &42; Owner,
FModuleLocationVertSurfaceInstancePayload &42; InstPayload,
USkeletalMeshComponent &42; InSkelMeshComponent,
int32 InPrimaryVertexIndex,
FVector & OutPosition,
FQuat & OutRotation,
bool bSpawning
&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 |
InPrimaryVertexIndex | The index of the only vertex (vert mode) or the first vertex (surface mode) |
OutPosition | The position for the particle location |
OutRotation | Optional orientation for the particle (mesh emitters) |
bSpawning | When true and when using normal check on surfaces, will return false if the check fails. |