Skip to content

FViewportWorldOptions

#include <ViewportWorlds/Public/ViewportWorldTypes.h>
---
config:
  class:
    hideEmptyMembersBox: true
---
classDiagram
  class FViewportWorldOptions["FViewportWorldOptions"]
  class UViewportWorldGameInstance["UViewportWorldGameInstance"]
  FViewportWorldOptions *-- UViewportWorldGameInstance
---
config:
  class:
    hideEmptyMembersBox: true
---
classDiagram
  class FViewportWorldOptions {
    +OverrideGameMode : TSoftClassPtr< AGameModeBase >
    +OverrideGameInstance : TSoftClassPtr< UViewportWorldGameInstanc
    +bTickWorld : bool
    +GetIVS() const FWorldInitializationValues
    +FViewportWorldOptions()
    +bInitializeScenes : bool
    +bAllowAudioPlayback : bool
    +bRequiresHitProxies : bool
    +bCreatePhysicsScene : bool
    +bCreateNavigation : bool
    +bCreateAI_System : bool
    +bEnableTraceCollision : bool
    +bCreateFX_System : bool
    +bCreateWorldPartition : bool
  }
struct FViewportWorldOptions

Defined in ViewportWorldTypes.h:170 Represents the options for a viewport world.

ReturnNameDescription
TSoftClassPtr< AGameModeBase >OverrideGameModeRepresents the override game mode for a viewport world.
TSoftClassPtr< UViewportWorldGameInstance >OverrideGameInstance
boolbTickWorldShould the world be ticked?

TSoftClassPtr< AGameModeBase > OverrideGameMode

Defined in ViewportWorldTypes.h:216 Represents the override game mode for a viewport world.


TSoftClassPtr< UViewportWorldGameInstance > OverrideGameInstance

Defined in ViewportWorldTypes.h:219


bool bTickWorld

Defined in ViewportWorldTypes.h:223 Should the world be ticked?

ReturnNameDescription
FWorldInitializationValuesGetIVS constGetIVS is a method of FViewportWorldOptions class that returns the FWorldInitializationValues object.
FViewportWorldOptions inlineDefault constructor

const

FWorldInitializationValues GetIVS() const

Defined in ViewportWorldTypes.h:234 GetIVS is a method of FViewportWorldOptions class that returns the FWorldInitializationValues object.

This method initializes the FWorldInitializationValues object based on the values of the properties of FViewportWorldOptions class. It sets various properties such as initialization scenes, audio playback, hit proxies, physics scene, navigation, AI system, trace collision, transactional, FX system, world partition, override game mode, and tick world.

FWorldInitializationValues - The initialized FWorldInitializationValues object with the specified properties.


inline

inline FViewportWorldOptions()

Defined in ViewportWorldTypes.h:237 Default constructor

ReturnNameDescription
boolbInitializeScenesShould the scenes (physics, rendering) be created.
boolbAllowAudioPlaybackAre sounds allowed to be generated from this world.
boolbRequiresHitProxiesShould the render scene create hit proxies.
boolbCreatePhysicsSceneShould the physics scene be created. bInitializeScenes must be true for this to be considered.
boolbCreateNavigationShould the navigation system be created for this world.
boolbCreateAI_SystemShould the AI system be created for this world.
boolbEnableTraceCollisionAre collision trace calls valid within this world.
boolbCreateFX_SystemShould the FX system be created for this world.
boolbCreateWorldPartitionShould the world be partitioned

bool bInitializeScenes

Defined in ViewportWorldTypes.h:178 Should the scenes (physics, rendering) be created.


bool bAllowAudioPlayback

Defined in ViewportWorldTypes.h:182 Are sounds allowed to be generated from this world.


bool bRequiresHitProxies

Defined in ViewportWorldTypes.h:186 Should the render scene create hit proxies.


bool bCreatePhysicsScene

Defined in ViewportWorldTypes.h:190 Should the physics scene be created. bInitializeScenes must be true for this to be considered.


bool bCreateNavigation

Defined in ViewportWorldTypes.h:194 Should the navigation system be created for this world.


bool bCreateAI_System

Defined in ViewportWorldTypes.h:198 Should the AI system be created for this world.


bool bEnableTraceCollision

Defined in ViewportWorldTypes.h:202 Are collision trace calls valid within this world.


bool bCreateFX_System

Defined in ViewportWorldTypes.h:206 Should the FX system be created for this world.


bool bCreateWorldPartition

Defined in ViewportWorldTypes.h:210 Should the world be partitioned