Skip to content

WorldInfo

Class in Engine · Engine.WorldInfo · native, config

Object › Actor › Info › ZoneInfo › WorldInfo

Using it from Lua
h7.find_all("WorldInfo")            -- live instances
h7.find_class("Engine.WorldInfo")   -- the class
h7.hook("Engine.WorldInfo.AddOnScreenDebugMessage", fn)

Constants

NameValue
MAX_BOOKMARK_NUMBER10
MAX_INSTANCES_PER_CLASS5

Enums

EConsoleType

CONSOLE_Any = 0, CONSOLE_Xbox360 = 1, CONSOLE_PS3 = 2, CONSOLE_Mobile = 3, CONSOLE_IPhone = 4, CONSOLE_Android = 5, CONSOLE_Kindle = 6, CONSOLE_Android_Google = 7, CONSOLE_Android_Amazon = 8, CONSOLE_WiiU = 9, CONSOLE_Flash = 10

EHostMigrationProgress

HostMigration_None = 0, HostMigration_FindingNewHost = 1, HostMigration_MigratingAsHost = 2, HostMigration_MigratingAsClient = 3, HostMigration_ClientTravel = 4, HostMigration_HostReadyToTravel = 5, HostMigration_Failed = 6

ENetMode

NM_Standalone = 0, NM_DedicatedServer = 1, NM_ListenServer = 2, NM_Client = 3

EPreferredLightmapType

EPLT_Default = 0, EPLT_Directional = 1, EPLT_Simple = 2

EVisibilityAggressiveness

VIS_LeastAggressive = 0, VIS_ModeratelyAggressive = 1, VIS_MostAggressive = 2, VIS_Max = 3

Structs

ApexModuleDestructibleSettings

FieldType
MaxChunkIslandCountint
MaxShapeCountint
MaxRrbActorCountint
MaxChunkSeparationLODfloat
bOverrideMaxChunkSeparationLODbool
Defaults
MaxShapeCount=-1
MaxChunkIslandCount=-1
MaxRrbActorCount=-1
MaxChunkSeparationLOD=1.0
bOverrideMaxChunkSeparationLOD=false

CompartmentRunList

FieldType
RigidBodybool
Fluidbool
Clothbool
SoftBodybool
Defaults
RigidBody=true
Fluid=true
Cloth=true
SoftBody=true

HostMigrationState

FieldType
HostMigrationProgressEHostMigrationProgress
HostMigrationElapsedTimefloat
HostMigrationTravelCountdownfloat
HostMigrationTravelURLstring
bHostMigrationEnabledbool

LightmassWorldInfoSettings

FieldType
StaticLightingLevelScalefloat
NumIndirectLightingBouncesint
EnvironmentColorcolor
EnvironmentIntensityfloat
bEnableAdvancedEnvironmentColorbool
EnvironmentSunColorcolor
EnvironmentSunIntensityfloat
EnvironmentLightTerminatorAnglefloat
EnvironmentLightDirectionVector
EmissiveBoostfloat
DiffuseBoostfloat
SpecularBoostfloat
IndirectNormalInfluenceBoostfloat
bUseAmbientOcclusionbool
bEnableImageReflectionShadowingbool
DirectIlluminationOcclusionFractionfloat
IndirectIlluminationOcclusionFractionfloat
OcclusionExponentfloat
FullyOccludedSamplesFractionfloat
MaxOcclusionDistancefloat
bVisualizeMaterialDiffusebool
bVisualizeAmbientOcclusionbool
bCompressShadowmapbool
Defaults
StaticLightingLevelScale=1
NumIndirectLightingBounces=3
EnvironmentColor=(R=0,G=0,B=0)
EnvironmentIntensity=1.0
bEnableAdvancedEnvironmentColor=false
EnvironmentSunColor=(R=0,G=0,B=0)
EnvironmentSunIntensity=1.0
EnvironmentLightTerminatorAngle=90.0
EmissiveBoost=1.0
DiffuseBoost=5.0
SpecularBoost=1.0
IndirectNormalInfluenceBoost=0.3
bUseAmbientOcclusion=false
DirectIlluminationOcclusionFraction=0.5
IndirectIlluminationOcclusionFraction=1.0
OcclusionExponent=1.0
FullyOccludedSamplesFraction=1.0
MaxOcclusionDistance=200.0
bVisualizeMaterialDiffuse=false
bVisualizeAmbientOcclusion=false
bCompressShadowmap=false

NavMeshPathConstraintCacheDatum

FieldType
ListIdxint
ListNavMeshPathConstraint[MAX_INSTANCES_PER_CLASS]

NavMeshPathGoalEvaluatorCacheDatum

FieldType
ListIdxint
ListNavMeshPathGoalEvaluator[MAX_INSTANCES_PER_CLASS]

NetViewer

FieldType
InViewerPlayerController
ViewerActor
ViewLocationvector
ViewDirvector

PhysXEmitterVerticalProperties

FieldType
bDisableLodbool
ParticlesLodMinint
ParticlesLodMaxint
PacketsPerPhysXParticleSystemMaxint
bApplyCylindricalPacketCullingbool
SpawnLodVsFifoBiasfloat
Defaults
bDisableLod=true
ParticlesLodMin=0
ParticlesLodMax=15000
PacketsPerPhysXParticleSystemMax=500
bApplyCylindricalPacketCulling=true
SpawnLodVsFifoBias=1.0

PhysXSceneProperties

FieldType
PrimaryScenePhysXSimulationProperties
CompartmentRigidBodyPhysXSimulationProperties
CompartmentFluidPhysXSimulationProperties
CompartmentClothPhysXSimulationProperties
CompartmentSoftBodyPhysXSimulationProperties
Defaults
CompartmentRigidBody=(bUseHardware=false,bFixedTimeStep=false,TimeStep=0.02,MaxSubSteps=2)
CompartmentFluid=(bUseHardware=true,bFixedTimeStep=false,TimeStep=0.02,MaxSubSteps=1)
CompartmentCloth=(bUseHardware=true,bFixedTimeStep=true,TimeStep=0.02,MaxSubSteps=2)
CompartmentSoftBody=(bUseHardware=true,bFixedTimeStep=true,TimeStep=0.02,MaxSubSteps=2)

PhysXSimulationProperties

FieldType
bUseHardwarebool
bFixedTimeStepbool
TimeStepfloat
MaxSubStepsint
Defaults
bUseHardware=false
bFixedTimeStep=false
TimeStep=0.02
MaxSubSteps=5

PhysXVerticalProperties

FieldType
EmittersPhysXEmitterVerticalProperties

ScreenMessageString

FieldType
Keyqword
ScreenMessagestring
DisplayColorcolor
TimeToDisplayfloat
CurrentTimeDisplayedfloat

WorldFractureSettings

FieldType
ChanceOfPhysicsChunkOverridefloat
bEnableChanceOfPhysicsChunkOverridebool
bLimitExplosionChunkSizebool
MaxExplosionChunkSizefloat
bLimitDamageChunkSizebool
MaxDamageChunkSizefloat
MaxNumFacturedChunksToSpawnInAFrameint
FractureExplosionVelScalefloat

Properties

NameTypeNotes
ApexClothingLODResourceValuefloat
ApexDestructionLODResourceValuefloat
ApexLODResourceBudgetfloat
AudioTimeSecondsfloattransient
Authorstring
bAggressiveLODbooltransient
bAllowHostMigrationboolconfig
bAllowTemporalAAboolglobalconfig
bBegunPlaybool
bBumpOffsetEnabledbool
bDebugPauseExecutionboolconst, transient
bDebugStepExecutionboolconst, transient
bDropDetailbooltransient
bEnableChanceOfPhysicsChunkOverrideboolconfig, private
bFogEnabledbool
bForceNoPrecomputedLightingbool
bGameplayFramePausebool
bHasPathNodesbool
bHaveActiveCrowdbool
bHighPriorityLoadingbool
bHighPriorityLoadingLocalbool
bInteractiveModeboolconst, transient
bIsMenuLevelboolconst, transient
bLimitDamageChunkSizeboolconfig, private
bLimitExplosionChunkSizeboolconfig, private
bMapHasMultipleDominantLightsAffectingOnePrimitivebool
bMapHasPathingErrorsbool
bMapNeedsLightingFullyRebuiltbool
bMinimizeBSPSectionsbool
bNoDefaultInventoryForPlayerbool
bNoMobileMapWarningsboolconfig
bNoPathWarningsbool
BookMarksBookMark[MAX_BOOKMARK_NUMBER]
bPathsRebuiltbool
bPersistPostProcessToNextLevelboolconfig
bPhysicsIgnoreDeltaTimebool
bPlaceCellsOnSurfacesbool
bPlayersOnlybool
bPlayersOnlyPendingbool
bPrecomputeVisibilitybool
bRequestedBlockOnAsyncLoadingbool
BSPVertexTexture2D
bStartupbool
bSupportDoubleBufferedPhysicsbool
bSuspendAIbool
BumpEndfloat
bUseConsoleInputbooltransient
bUseGammaCorrectionbool
bUseGlobalIlluminationbool
bUseProcBuildingRulesetOverridebool
ChanceOfPhysicsChunkOverridefloatconfig, private
CharacterLightingContrastFactorfloat
CharacterLitIndirectBrightnessfloat
CharacterLitIndirectContrastFactorfloat
CharacterShadowedIndirectBrightnessfloat
CharacterShadowedIndirectContrastFactorfloat
ClientDestroyedActorContentarray<Object>const, editconst
ClipPadEntriesarray<ClipPadEntry>
CommittedPersistentLevelNamenameconst, transient
CompartmentRunFramesarray
ComputerNamestring
ControllerListControllerconst, private
CoverListCoverLinkconst, transient
CurrentMusicTrackMusicTrackStructtransient
DecalManagerClassPathstringglobalconfig
DefaultAmbientZoneSettingsInteriorSettingsconfig
DefaultColorScalevector
DefaultGameTypeclass<GameInfo>
DefaultGravityZfloatconst, globalconfig
DefaultPostProcessSettingsPostProcessSettingsconfig
DefaultReverbSettingsReverbSettingsconfig
DefaultSkinWidthfloat
DefaultTextureTexture2D
DeferredExecsarray
DeltaSecondsfloatconst, transient
DemoPlayTimeDilationfloat
DestructibleSettingsApexModuleDestructibleSettings
EmitterPoolClassPathstringglobalconfig
EmitterVerticalPhysicsLODVerticalEmitter
EngineVersionstring
EnvironmentVolumesarray<EnvironmentVolume>const, transient
FirstPhysicsVolumePhysicsVolumetransient
FogColorcolor
FogEndfloat
FogStartfloat
FracturedMeshWeaponDamagefloatconfig
FractureExplosionVelScalefloatconfig, private
FractureManagerClassPathstringglobalconfig
GameGameInfo
GameTypeForPIEclass<GameInfo>
GameTypesSupportedOnThisMaparrayGameInfo>>
GlobalGravityZfloat
GRIGameReplicationInfotransient
HighestPriorityPostProcessVolumePostProcessVolumeconst, transient
HighestPriorityReverbVolumeReverbVolumeconst, transient
HostMigrationTimeoutfloatconfig
ImageReflectionEnvironmentColorLinearColor
ImageReflectionEnvironmentRotationfloat
ImageReflectionEnvironmentTextureTexture2D
KismetBookMarksKismetBookMark[MAX_BOOKMARK_NUMBER]
LandscapeInfoMapmaptransient, native
LargeVertexTexture2D
LastTimeUnbuiltLightingWasEncountereddoubletransient
LevelLightingQualityELightingBuildQualityeditconst
LightmassSettingsLightmassWorldInfoSettings
LMLevelSettingsLightmassLevelSettingsinstanced
MapChangePositionOffsetstructno declaration: type is approximate
MassiveLODOverrideVolumesarray<MassiveLODOverrideVolume>const, transient
MaxDamageChunkSizefloatconfig, private
MaxExplosionChunkSizefloatconfig, private
MaxNumFacturedChunksToSpawnInAFrameintprivate
MaxPhysicsDeltaTimefloat
MaxPhysicsSubstepsintconfig
MaxTrianglesPerLeafint
MinNetVersionstring
MoveRepSizefloat
MusicCompAudioComponenttransient
MyDecalManagerDecalManagertransient
MyEmitterPoolEmitterPooltransient
MyFractureManagerFractureManagertransient
MyMapInfoMapInfoprotected, instanced
MyParticleEventManagerParticleEventManagertransient
NavigationPointListNavigationPointconst, transient, private
NavMeshPathConstraintCachemapnative
NavMeshPathGoalEvaluatorCachemapnative
NetModeENetMode
NextSwitchCountdownfloat
NextTravelTypeETravelType
NextURLstring
NumFacturedChunksSpawnedThisFrameinttransient
PackedLightAndShadowMapTextureSizeint
ParticleEventManagerClassPathstringglobalconfig
PauseDelayfloattransient
PauserPlayerReplicationInfo
PawnListPawnconst
PeerHostMigrationHostMigrationStateconst, transient
PersistentMapForcedObjectsobjectreferencer
PhysicsPropertiesPhysXSceneProperties
PopulationManagerCrowdPopulationManagerBase
PortalVolumesarray<PortalVolume>const, transient
PreferredLightmapTypeEPreferredLightmapType
PreparingLevelNamesarrayconst, transient
PriorityScreenMessagesarray<ScreenMessageString>transient, native
ProcBuildingRulesetOverrideProcBuildingRuleset
PylonListPylonconst, transient, private
RBPhysicsGravityScalingfloatglobalconfig
RealTimeSecondsfloattransient
RealTimeToUnPausefloattransient
ReplicatedMusicTrackMusicTrackStructtransient, repnotify
ReplicationViewersarray<NetViewer>const
ScreenMessagesMap_Mirrortransient, native
SkelMeshCompTickTagCountintconst, transient
SquintModeKernelSizefloatconfig
StallZfloat
StreamingLevelsarray<LevelStreaming>const, editconst
TimeDilationfloat
TimeSecondsfloattransient
Titlestringlocalized
VerticalPropertiesPhysXVerticalProperties
VisibilityAggressivenessEVisibilityAggressiveness
VisibilityCellSizeint
VisibleGroupsstring
VisibleLayersstring
WhiteSquareTextureTexture2D
WireframeTextureTexture2D
WorldAttractorsarraynative, private
WorldGravityZfloattransient
WorldPostProcessChainPostProcessChain

Functions

NameDeclaration
AddOnScreenDebugMessagefinal native function AddOnScreenDebugMessage(INT Key, FLOAT TimeToDisplay, Color DisplayColor, String DebugMessage)
AllClientConnectionsfinal native iterator function AllClientConnections(out Player ClientConnection, out int ClientIP, out int ClientPort)
AllControllersfinal native iterator function AllControllers(class<Controller> BaseClass, out Controller C)
AllNavigationPointsfinal native iterator function AllNavigationPoints(class<NavigationPoint> BaseClass, out NavigationPoint N)
AllPawnsfinal native iterator function AllPawns(class<Pawn> BaseClass, out Pawn P, optional vector TestLocation, optional float TestRadius)
BeginHostMigrationnative function bool BeginHostMigration()
CanBeginHostMigrationsimulated event bool CanBeginHostMigration()
CancelPendingMapChangefinal native function CancelPendingMapChange()
ClearObjectPoolsfinal native function ClearObjectPools()
CommitMapChangefinal native function CommitMapChange()
DoMemoryTrackingfinal native function DoMemoryTracking()
FindEnvironmentVolumefinal native function EnvironmentVolume FindEnvironmentVolume(Vector TestLocation)
ForceGarbageCollectionfinal native simulated function ForceGarbageCollection(optional bool bFullPurge)
GetAddressURLnative simulated function string GetAddressURL()
GetAllRootSequencesfinal native simulated function array<Sequence> GetAllRootSequences()
GetDemoFrameInfofinal native function GetDemoFrameInfo(optional out int CurrentFrame, optional out int TotalFrames)
GetDemoRewindPointsfinal native function bool GetDemoRewindPoints(out array OutRewindPoints)
GetDetailModefinal native function EDetailMode GetDetailMode()
GetGameClasssimulated function class<GameInfo> GetGameClass()
GetGameSequencefinal native simulated function Sequence GetGameSequence()
GetGravityZnative function float GetGravityZ()
GetLocalURLnative simulated function string GetLocalURL()
GetMapInfofinal native function MapInfo GetMapInfo()
GetMapNamefinal native function string GetMapName(optional bool bIncludePrefix)
GetNavMeshPathConstraintFromCachenative function NavMeshPathConstraint GetNavMeshPathConstraintFromCache(class<NavMeshPathConstraint> ConstraintClass, NavigationHandle Requestor)
GetNavMeshPathGoalEvaluatorFromCachenative function NavMeshPathGoalEvaluator GetNavMeshPathGoalEvaluatorFromCache(class<NavMeshPathGoalEvaluator> GoalEvalClass, NavigationHandle Requestor)
GetVanillaMapInfofunction Object GetVanillaMapInfo() (no declaration: types are approximate)
GetWorldFractureSettingsfinal native function WorldFractureSettings GetWorldFractureSettings()
GetWorldInfostatic final native function WorldInfo GetWorldInfo()
IsConsoleBuildstatic final native simulated function bool IsConsoleBuild(optional EConsoleType ConsoleType = CONSOLE_Any)
IsDemoBuildstatic final native simulated function bool IsDemoBuild()
IsInSeamlessTravelfinal native function bool IsInSeamlessTravel()
IsMapChangeReadyfinal native function bool IsMapChangeReady()
IsMenuLevelstatic final native function bool IsMenuLevel(optional string MapName)
IsPlayInEditorstatic final native simulated function bool IsPlayInEditor()
IsPlayingDemofinal native function bool IsPlayingDemo()
IsPlayInMobilePreviewstatic final native simulated function bool IsPlayInMobilePreview()
IsPlayInPreviewstatic final native simulated function bool IsPlayInPreview()
IsPreparingMapChangefinal native function bool IsPreparingMapChange()
IsRecordingDemofinal native function bool IsRecordingDemo()
IsWithGFxstatic final native simulated function bool IsWithGFx()
NavigationPointCheckfinal native function NavigationPointCheck(vector Point, vector Extent, optional out array<NavigationPoint> Navs, optional out array<ReachSpec> Specs)
NotifyHostMigrationStateChangedsimulated event NotifyHostMigrationStateChanged(EHostMigrationProgress NewState, EHostMigrationProgress OldState)
NotifyMatchStartedfinal native function NotifyMatchStarted(optional bool bShouldActivateLevelStartupEvents = true, optional bool bShouldActivateLevelBeginningEvents = true, optional bool bShouldActivateLevelLoadedEvents = false)
PostBeginPlaysimulated function PostBeginPlay()
PreBeginPlaysimulated function PreBeginPlay()
PrepareMapChangefinal native function PrepareMapChange(const out array LevelNames)
RadiusNavigationPointsfinal native iterator function RadiusNavigationPoints(class<NavigationPoint> BaseClass, out NavigationPoint N, vector Point, float Radius)
ReleaseCachedConstraintsAndEvaluatorsnative function ReleaseCachedConstraintsAndEvaluators()
ReplicatedEventsimulated event ReplicatedEvent(Name VarName)
Resetfunction Reset()
SeamlessTravelfinal native function SeamlessTravel(string URL, optional bool bAbsolute, optional init Guid MapPackageGuid)
ServerTravelsimulated event ServerTravel(string URL, optional bool bAbsolute, optional bool bShouldSkipGameNotify)
SetLevelRBGravityfinal native function SetLevelRBGravity(vector NewGrav)
SetMapInfofinal native function SetMapInfo(MapInfo NewMapInfo)
SetMusicVolumefinal native function SetMusicVolume(float VolumeMultiplier)
SetSeamlessTravelMidpointPausefinal native function SetSeamlessTravelMidpointPause(bool bNowPaused)
ThisIsNeverExecutedfunction ThisIsNeverExecuted(DefaultPhysicsVolume P)
ToggleHostMigrationnative function ToggleHostMigration(bool bEnabled)
UpdateMusicTrackfinal native function UpdateMusicTrack(MusicTrackStruct NewMusicTrack)
VerifyNavListfinal native simulated function VerifyNavList()

Default values

RemoteRole=ROLE_SimulatedProxy
bAlwaysRelevant=true
TimeDilation=1.0
DemoPlayTimeDilation=1.0
bHiddenEd=True
DefaultTexture=Texture2D'EngineResources.DefaultTexture'
WhiteSquareTexture=WhiteSquareTexture
LargeVertex=Texture2D'EditorResources.LargeVertex'
BSPVertex=Texture2D'EditorResources.BSPVertex'
bWorldGeometry=true
VisibleGroups="None"
VisibleLayers="None"
MoveRepSize=+42.0
bBlockActors=true
StallZ=+1000000.0
PackedLightAndShadowMapTextureSize=1024
bUseGlobalIllumination=true
MaxTrianglesPerLeaf=4
DefaultColorScale=(X=1.f,Y=1.f,Z=1.f)
bPlaceCellsOnSurfaces=True
VisibilityCellSize=200
VisibilityAggressiveness=VIS_LeastAggressive
ImageReflectionEnvironmentColor=(R=1.f,G=1.f,B=1.f,A=1.f)
CharacterLitIndirectBrightness=1
CharacterLitIndirectContrastFactor=1
CharacterShadowedIndirectBrightness=1
CharacterShadowedIndirectContrastFactor=1
CharacterLightingContrastFactor=1.5
MaxPhysicsDeltaTime=0.33333333
DefaultSkinWidth=0.025
ApexLODResourceBudget=-1
ApexDestructionLODResourceValue = 1000
ApexClothingLODResourceValue = 1000
MaxNumFacturedChunksToSpawnInAFrame=12
EmitterVertical=PhysicsLODVerticalEmitter0
NextTravelType=TRAVEL_Relative
bMovable=FALSE
bFogEnabled=false
FogStart=400.0
FogEnd=4000.0
FogColor=(R=128,G=128,B=255,A=192)
bBumpOffsetEnabled=true
BumpEnd=1000.0
bUseGammaCorrection=false
LevelLightingQuality = Quality_MAX

Inherited

FromMembers
ZoneInfo4 properties, 0 functions
Info0 properties, 0 functions
Actor156 properties, 262 functions
Object13 properties, 308 functions