MultiWorld 1.9.1
Manage multiple isolated UWorld instances simultaneously in Unreal Engine, transferring player and actors between worlds.
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
FMultiWorldTransferActorParameters Struct Reference

Options for UMultiWorldStatics::TransferActorToWorld(). More...

#include <MultiWorldManager.h>

Public Member Functions

 FMultiWorldTransferActorParameters ()
 Default constructor. More...
 
 FMultiWorldTransferActorParameters (const FTransform &InTransform, ETeleportType InTeleport)
 Constructor. More...
 
void SetTransform (const FTransform &NewTransform)
 Set both bSetPhysicsActorTransform (to NewTransform.IsValid()) and Transform. More...
 

Public Attributes

bool bSetPhysicsActorTransform
 If enabled, after the transfert set the actor transform to the value in Transform. More...
 
ETeleportType Teleport
 If bSetPhysicsActorTransform is enabled, how we teleport the physics state (see AActor::SetActorTransform()). More...
 
FTransform Transform
 If bSetPhysicsActorTransform is enabled, the final actor transform. More...
 

Detailed Description

Options for UMultiWorldStatics::TransferActorToWorld().

Constructor & Destructor Documentation

◆ FMultiWorldTransferActorParameters() [1/2]

FMultiWorldTransferActorParameters::FMultiWorldTransferActorParameters ( )

Default constructor.

◆ FMultiWorldTransferActorParameters() [2/2]

FMultiWorldTransferActorParameters::FMultiWorldTransferActorParameters ( const FTransform &  InTransform,
ETeleportType  InTeleport 
)

Constructor.

Parameters
InTransformInitialization value for bSetPhysicsActorTransform (set to InTransform.IsValid()) and Transform.
InTeleportInitialization value for Teleport.

Member Function Documentation

◆ SetTransform()

void FMultiWorldTransferActorParameters::SetTransform ( const FTransform &  NewTransform)

Set both bSetPhysicsActorTransform (to NewTransform.IsValid()) and Transform.

Parameters
NewTransformThe new value for Transform.

Member Data Documentation

◆ bSetPhysicsActorTransform

bool FMultiWorldTransferActorParameters::bSetPhysicsActorTransform

If enabled, after the transfert set the actor transform to the value in Transform.

Default: false.

◆ Teleport

ETeleportType FMultiWorldTransferActorParameters::Teleport

If bSetPhysicsActorTransform is enabled, how we teleport the physics state (see AActor::SetActorTransform()).

Default: ETeleportType::ResetPhysics.

◆ Transform

FTransform FMultiWorldTransferActorParameters::Transform

If bSetPhysicsActorTransform is enabled, the final actor transform.

Default: unset.


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