InitializationValues

Struct containing a collection of optional parameters for initialization of a World.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/World.h

Include

#include "Engine/World.h"

Syntax

struct InitializationValues

Remarks

Struct containing a collection of optional parameters for initialization of a World.

Variables

Name Description

Public variable

uint32: 1

 

bAllowAudioPlayback

Are sounds allowed to be generated from this world.

Public variable

uint32: 1

 

bCreateAISystem

Should the AI system be created for this world.

Public variable

uint32: 1

 

bCreateFXSystem

Should the FX system be created for this world.

Public variable

uint32: 1

 

bCreateNavigation

Should the navigation system be created for this world.

Public variable

uint32: 1

 

bCreatePhysicsScene

Should the physics scene be created. bInitializeScenes must be true for this to be considered.

Public variable

uint32: 1

 

bCreateWorldPartition

Should the world be partitioned

Public variable

uint32: 1

 

bEnableTraceCollision

Are collision trace calls valid within this world.

Public variable

uint32: 1

 

bForceUseMovementComponentInNonGameWorld

Special flag to enable movement component in non game worlds (see UMovementComponent::OnRegister)

Public variable

uint32: 1

 

bInitializeScenes

Should the scenes (physics, rendering) be created.

Public variable

uint32: 1

 

bRequiresHitProxies

Should the render scene create hit proxies.

Public variable

uint32: 1

 

bShouldSimulatePhysics

Should physics be simulated in this world.

Public variable

uint32: 1

 

bTransactional

Should actions performed to objects in this world be saved to the transaction buffer.

Public variable

TSubclassOf< cl...

 

DefaultGameMode

The default game mode for this world (if any)

Constructors

Name Description

Public function

InitializationValues()

Functions

Name Description

Public function

Initializati...

 

AllowAudioPlayback

(
    const bool bAllow
)

Public function

Initializati...

 

CreateAISystem

(
    const bool bCreate
)

Public function

Initializati...

 

CreateFXSystem

(
    const bool bCreate
)

Public function

Initializati...

 

CreateNavigation

(
    const bool bCreate
)

Public function

Initializati...

 

CreatePhysicsScene

(
    const bool bCreate
)

Public function

Initializati...

 

CreateWorldPartition

(
    const bool bCreate
)

Public function

Initializati...

 

EnableTraceCollision

(
    const bool bInEnableTraceCollision
)

Public function

Initializati...

 

ForceUseMovementComponentInNonGameWorld

(
    const bool bInForceUseMovementCompo...
)

Public function

Initializati...

 

InitializeScenes

(
    const bool bInitialize
)

Public function

Initializati...

 

RequiresHitProxies

(
    const bool bRequires
)

Public function

Initializati...

 

SetDefaultGameMode

(
    TSubclassOf< class AGameModeBase > ...
)

Public function

Initializati...

 

SetTransactional

(
    const bool bInTransactional
)

Public function

Initializati...

 

ShouldSimulatePhysics

(
    const bool bInShouldSimulatePhysics
)