UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
SceneComponent.h File Reference
#include "EngineDefines.h"
#include "UObject/ObjectMacros.h"
#include "Math/BoxSphereBounds.h"
#include "UObject/UObjectGlobals.h"
#include "ComponentInstanceDataCache.h"
#include "Components/ActorComponent.h"
#include "TransformStateStreamHandle.h"
#include "SceneComponent.generated.h"

Go to the source code of this file.

Classes

struct  FDirectAttachChildrenAccessor
 
struct  FSceneComponentInstanceData
 
class  FScopedPreventAttachedComponentMove
 

Namespaces

namespace  ERHIFeatureLevel
 

Macros

#define SCENECOMPONENT_QUAT_TOLERANCE   (1.e-8f)
 
#define SCENECOMPONENT_ROTATOR_TOLERANCE   (1.e-4f)
 

Typedefs

typedef TArrayView< const FOverlapInfoTOverlapArrayView
 

Enumerations

enum  EDetailMode : int {
  UMETA =(DisplayName="Low") , UMETA =(DisplayName="Low") , UMETA =(DisplayName="Low") , UMETA =(DisplayName="Low") ,
  DM_MAX
}
 
enum  ERelativeTransformSpace : int { RTS_World , RTS_Actor , RTS_Component , RTS_ParentBoneSpace }
 
enum  EMoveComponentFlags {
  MOVECOMP_NoFlags = 0x0000 , MOVECOMP_IgnoreBases = 0x0001 , MOVECOMP_SkipPhysicsMove = 0x0002 , MOVECOMP_NeverIgnoreBlockingOverlaps = 0x0004 ,
  MOVECOMP_DisableBlockingOverlapDispatch = 0x0008 , MOVECOMP_CheckBlockingRootActorInIgnoreList = 0x0010
}
 

Functions

 ENUM_CLASS_FLAGS (EMoveComponentFlags)
 
 DECLARE_DYNAMIC_MULTICAST_SPARSE_DELEGATE_OneParam (FPhysicsVolumeChanged, USceneComponent, PhysicsVolumeChangedDelegate, class APhysicsVolume *, NewVolume)
 
 DECLARE_DYNAMIC_MULTICAST_SPARSE_DELEGATE_TwoParams (FIsRootComponentChanged, USceneComponent, IsRootComponentChanged, USceneComponent *, UpdatedComponent, bool, bIsRootComponent)
 
 DECLARE_EVENT_ThreeParams (USceneComponent, FTransformUpdated, USceneComponent *, EUpdateTransformFlags, ETeleportType)
 

Macro Definition Documentation

◆ SCENECOMPONENT_QUAT_TOLERANCE

#define SCENECOMPONENT_QUAT_TOLERANCE   (1.e-8f)

Comparison tolerance for checking if two FQuats are the same when moving SceneComponents.

◆ SCENECOMPONENT_ROTATOR_TOLERANCE

#define SCENECOMPONENT_ROTATOR_TOLERANCE   (1.e-4f)

Comparison tolerance for checking if two FRotators are the same when moving SceneComponents.

Typedef Documentation

◆ TOverlapArrayView

Enumeration Type Documentation

◆ EDetailMode

Detail mode for scene component rendering, corresponds with the world GetDetailMode which is set based on platform and scalability settings. If settings like r.CookOutUnusedDetailModeComponents are used, this can result in components being removed entirely when the target detail mode is higher.

Enumerator
UMETA 
UMETA 
UMETA 
UMETA 
DM_MAX 

◆ EMoveComponentFlags

MoveComponent options, stored as bitflags

Enumerator
MOVECOMP_NoFlags 

Default options

MOVECOMP_IgnoreBases 

Ignore collisions with things the Actor is based on

MOVECOMP_SkipPhysicsMove 

When moving this component, do not move the physics representation. Used internally to avoid looping updates when syncing with physics.

MOVECOMP_NeverIgnoreBlockingOverlaps 

Never ignore initial blocking overlaps during movement, which are usually ignored when moving out of an object. MOVECOMP_IgnoreBases is still respected.

MOVECOMP_DisableBlockingOverlapDispatch 

avoid dispatching blocking hit events when the hit started in penetration (and is not ignored, see MOVECOMP_NeverIgnoreBlockingOverlaps).

MOVECOMP_CheckBlockingRootActorInIgnoreList 

Compare the root actor of a blocking hit with the ignore UPrimitiveComponent::MoveIgnoreActors array

◆ ERelativeTransformSpace

The space for the transform

Enumerator
RTS_World 

World space transform.

RTS_Actor 

Actor space transform.

RTS_Component 

Component space transform.

RTS_ParentBoneSpace 

Parent bone space transform

Function Documentation

◆ DECLARE_DYNAMIC_MULTICAST_SPARSE_DELEGATE_OneParam()

DECLARE_DYNAMIC_MULTICAST_SPARSE_DELEGATE_OneParam ( FPhysicsVolumeChanged  ,
USceneComponent  ,
PhysicsVolumeChangedDelegate  ,
class APhysicsVolume ,
NewVolume   
)

◆ DECLARE_DYNAMIC_MULTICAST_SPARSE_DELEGATE_TwoParams()

DECLARE_DYNAMIC_MULTICAST_SPARSE_DELEGATE_TwoParams ( FIsRootComponentChanged  ,
USceneComponent  ,
IsRootComponentChanged  ,
USceneComponent *  ,
UpdatedComponent  ,
bool  ,
bIsRootComponent   
)

◆ DECLARE_EVENT_ThreeParams()

DECLARE_EVENT_ThreeParams ( USceneComponent  ,
FTransformUpdated  ,
USceneComponent *  ,
EUpdateTransformFlags  ,
ETeleportType   
)

◆ ENUM_CLASS_FLAGS()

ENUM_CLASS_FLAGS ( EMoveComponentFlags  )