UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FAttachmentTransformRules Struct Reference

#include <EngineTypes.h>

Public Member Functions

 FAttachmentTransformRules (EAttachmentRule InRule, bool bInWeldSimulatedBodies)
 
 FAttachmentTransformRules (EAttachmentRule InLocationRule, EAttachmentRule InRotationRule, EAttachmentRule InScaleRule, bool bInWeldSimulatedBodies)
 

Public Attributes

EAttachmentRule LocationRule
 
EAttachmentRule RotationRule
 
EAttachmentRule ScaleRule
 
bool bWeldSimulatedBodies
 

Static Public Attributes

static ENGINE_API FAttachmentTransformRules KeepRelativeTransform
 
static ENGINE_API FAttachmentTransformRules KeepWorldTransform
 
static ENGINE_API FAttachmentTransformRules SnapToTargetNotIncludingScale
 
static ENGINE_API FAttachmentTransformRules SnapToTargetIncludingScale
 

Detailed Description

Rules for attaching components

Constructor & Destructor Documentation

◆ FAttachmentTransformRules() [1/2]

FAttachmentTransformRules::FAttachmentTransformRules ( EAttachmentRule  InRule,
bool  bInWeldSimulatedBodies 
)
inline

◆ FAttachmentTransformRules() [2/2]

FAttachmentTransformRules::FAttachmentTransformRules ( EAttachmentRule  InLocationRule,
EAttachmentRule  InRotationRule,
EAttachmentRule  InScaleRule,
bool  bInWeldSimulatedBodies 
)
inline

Member Data Documentation

◆ bWeldSimulatedBodies

bool FAttachmentTransformRules::bWeldSimulatedBodies

Whether to weld simulated bodies together when attaching

◆ KeepRelativeTransform

FAttachmentTransformRules FAttachmentTransformRules::KeepRelativeTransform
static

Various preset attachment rules. Note that these default rules do NOT by default weld simulated bodies

◆ KeepWorldTransform

FAttachmentTransformRules FAttachmentTransformRules::KeepWorldTransform
static

◆ LocationRule

EAttachmentRule FAttachmentTransformRules::LocationRule

The rule to apply to location when attaching

◆ RotationRule

EAttachmentRule FAttachmentTransformRules::RotationRule

The rule to apply to rotation when attaching

◆ ScaleRule

EAttachmentRule FAttachmentTransformRules::ScaleRule

The rule to apply to scale when attaching

◆ SnapToTargetIncludingScale

FAttachmentTransformRules FAttachmentTransformRules::SnapToTargetIncludingScale
static

◆ SnapToTargetNotIncludingScale

FAttachmentTransformRules FAttachmentTransformRules::SnapToTargetNotIncludingScale
static

The documentation for this struct was generated from the following files: