Navigation
API > API/Plugins > API/Plugins/Niagara > API/Plugins/Niagara/UNiagaraComponent
- UFXSystemComponent::SetAutoAttachmentParameters()
- UNiagaraComponent::SetAutoAttachmentParameters()
References
Module | Niagara |
Header | /Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraComponent.h |
Include | #include "NiagaraComponent.h" |
Source | /Engine/Plugins/FX/Niagara/Source/Niagara/Private/NiagaraComponent.cpp |
virtual void SetAutoAttachmentParameters
&40;
USceneComponent &42; Parent,
FName SocketName,
EAttachmentRule LocationRule,
EAttachmentRule RotationRule,
EAttachmentRule ScaleRule
&41;
Remarks
Set AutoAttachParent, AutoAttachSocketName, AutoAttachLocationRule, AutoAttachRotationRule, AutoAttachScaleRule to the specified parameters. Does not change bAutoManageAttachment; that must be set separately.
Parameters
Name | Description |
---|---|
Parent | Component to attach to. |
SocketName | Socket on Parent to attach to. |
LocationRule | Option for how we handle our location when we attach to Parent. |
RotationRule | Option for how we handle our rotation when we attach to Parent. |
ScaleRule | Option for how we handle our scale when we attach to Parent. |