UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TInitBodiesHelperBase< InAllocatorType > Struct Template Reference

#include <BodyInstance.h>

+ Inheritance diagram for TInitBodiesHelperBase< InAllocatorType >:

Public Member Functions

ENGINE_API TInitBodiesHelperBase (TArray< FBodyInstance *, InAllocatorType > &InBodies, TArray< FTransform, InAllocatorType > &InTransforms, class UBodySetup *InBodySetup, class UPrimitiveComponent *InPrimitiveComp, FPhysScene *InRBScene, const FInitBodySpawnParams &InSpawnParams, FPhysicsAggregateHandle InAggregate, IPhysicsBodyInstanceOwner *InBodyInstanceOwner=nullptr)
 
ENGINE_API TInitBodiesHelperBase (TArray< FBodyInstance *, InAllocatorType > &InBodies, TArray< FTransform, InAllocatorType > &InTransforms, class UBodySetup *InBodySetup, class UPrimitiveComponent *InComponent, UObject *InSourceObject, FPhysScene *InRBScene, const FInitBodySpawnParams &InSpawnParams, FPhysicsAggregateHandle InAggregate, IPhysicsBodyInstanceOwner *InBodyInstanceOwner=nullptr)
 
 TInitBodiesHelperBase (const TInitBodiesHelperBase &InHelper)=delete
 
 TInitBodiesHelperBase (TInitBodiesHelperBase &&InHelper)=delete
 
TInitBodiesHelperBaseoperator= (const TInitBodiesHelperBase &InHelper)=delete
 
TInitBodiesHelperBaseoperator= (TInitBodiesHelperBase &&InHelper)=delete
 
bool IsStatic () const
 
void CreateActor_AssumesLocked (FBodyInstance *Instance, const FTransform &Transform) const
 
bool CreateShapes_AssumesLocked (FBodyInstance *Instance) const
 
bool CreateShapesAndActors ()
 
void InitBodies ()
 

Public Attributes

TArray< FBodyInstance *, InAllocatorType > & Bodies
 
TArray< FTransform, InAllocatorType > & Transforms
 
class UBodySetupBodySetup
 
class UPrimitiveComponent * PrimitiveComp
 
IPhysicsBodyInstanceOwnerBodyInstanceOwner
 
UObjectSourceObject
 
FPhysScenePhysScene
 
FPhysicsAggregateHandle Aggregate
 
bool bStatic
 
bool bInstanceSimulatePhysics
 
float InstanceBlendWeight
 
const USkeletalMeshComponent * SkelMeshComp
 
const FInitBodySpawnParamsSpawnParams
 
bool DisableQueryOnlyActors
 

Protected Member Functions

void UpdateSimulatingAndBlendWeight ()
 
- Protected Member Functions inherited from Chaos::Private::FInitBodiesHelperBaseInternal
void SetBodyInstanceExternalCollisionProfileBodySetup (FBodyInstance *BodyInstance, UBodySetup *ExternalCollisionProfileBodySetup)
 
void UpdateBodyInstanceSolverAsyncDeltaTime (FBodyInstance *BodyInstance)
 

Constructor & Destructor Documentation

◆ TInitBodiesHelperBase() [1/4]

TInitBodiesHelperBase< InAllocatorType >::TInitBodiesHelperBase ( TArray< FBodyInstance *, InAllocatorType > &  InBodies,
TArray< FTransform, InAllocatorType > &  InTransforms,
class UBodySetup InBodySetup,
class UPrimitiveComponent *  InPrimitiveComp,
FPhysScene InRBScene,
const FInitBodySpawnParams InSpawnParams,
FPhysicsAggregateHandle  InAggregate,
IPhysicsBodyInstanceOwner InBodyInstanceOwner = nullptr 
)

◆ TInitBodiesHelperBase() [2/4]

TInitBodiesHelperBase< InAllocatorType >::TInitBodiesHelperBase ( TArray< FBodyInstance *, InAllocatorType > &  InBodies,
TArray< FTransform, InAllocatorType > &  InTransforms,
class UBodySetup InBodySetup,
class UPrimitiveComponent *  InComponent,
UObject InSourceObject,
FPhysScene InRBScene,
const FInitBodySpawnParams InSpawnParams,
FPhysicsAggregateHandle  InAggregate,
IPhysicsBodyInstanceOwner InBodyInstanceOwner = nullptr 
)

◆ TInitBodiesHelperBase() [3/4]

◆ TInitBodiesHelperBase() [4/4]

Member Function Documentation

◆ CreateActor_AssumesLocked()

void TInitBodiesHelperBase< InAllocatorType >::CreateActor_AssumesLocked ( FBodyInstance Instance,
const FTransform Transform 
) const

◆ CreateShapes_AssumesLocked()

bool TInitBodiesHelperBase< InAllocatorType >::CreateShapes_AssumesLocked ( FBodyInstance Instance) const

◆ CreateShapesAndActors()

bool TInitBodiesHelperBase< InAllocatorType >::CreateShapesAndActors ( )

◆ InitBodies()

◆ IsStatic()

template<typename InAllocatorType = FDefaultAllocator>
bool TInitBodiesHelperBase< InAllocatorType >::IsStatic ( ) const
inline

◆ operator=() [1/2]

template<typename InAllocatorType = FDefaultAllocator>
TInitBodiesHelperBase & TInitBodiesHelperBase< InAllocatorType >::operator= ( const TInitBodiesHelperBase< InAllocatorType > &  InHelper)
delete

◆ operator=() [2/2]

template<typename InAllocatorType = FDefaultAllocator>
TInitBodiesHelperBase & TInitBodiesHelperBase< InAllocatorType >::operator= ( TInitBodiesHelperBase< InAllocatorType > &&  InHelper)
delete

◆ UpdateSimulatingAndBlendWeight()

void TInitBodiesHelperBase< InAllocatorType >::UpdateSimulatingAndBlendWeight ( )
protected

Member Data Documentation

◆ Aggregate

◆ bInstanceSimulatePhysics

template<typename InAllocatorType = FDefaultAllocator>
bool TInitBodiesHelperBase< InAllocatorType >::bInstanceSimulatePhysics

◆ Bodies

◆ BodyInstanceOwner

template<typename InAllocatorType = FDefaultAllocator>
IPhysicsBodyInstanceOwner* TInitBodiesHelperBase< InAllocatorType >::BodyInstanceOwner

◆ BodySetup

template<typename InAllocatorType = FDefaultAllocator>
class UBodySetup* TInitBodiesHelperBase< InAllocatorType >::BodySetup

◆ bStatic

template<typename InAllocatorType = FDefaultAllocator>
bool TInitBodiesHelperBase< InAllocatorType >::bStatic

◆ DisableQueryOnlyActors

template<typename InAllocatorType = FDefaultAllocator>
bool TInitBodiesHelperBase< InAllocatorType >::DisableQueryOnlyActors

◆ InstanceBlendWeight

template<typename InAllocatorType = FDefaultAllocator>
float TInitBodiesHelperBase< InAllocatorType >::InstanceBlendWeight

◆ PhysScene

template<typename InAllocatorType = FDefaultAllocator>
FPhysScene* TInitBodiesHelperBase< InAllocatorType >::PhysScene

◆ PrimitiveComp

template<typename InAllocatorType = FDefaultAllocator>
class UPrimitiveComponent* TInitBodiesHelperBase< InAllocatorType >::PrimitiveComp

◆ SkelMeshComp

template<typename InAllocatorType = FDefaultAllocator>
const USkeletalMeshComponent* TInitBodiesHelperBase< InAllocatorType >::SkelMeshComp

◆ SourceObject

template<typename InAllocatorType = FDefaultAllocator>
UObject* TInitBodiesHelperBase< InAllocatorType >::SourceObject

◆ SpawnParams

template<typename InAllocatorType = FDefaultAllocator>
const FInitBodySpawnParams& TInitBodiesHelperBase< InAllocatorType >::SpawnParams

◆ Transforms


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