The World is the top level object representing a map or a sandbox in which Actors and Components will exist and be rendered.
更多...
|
| void | AddController (AController *Controller) |
| | Inserts the passed in controller at the front of the linked list of controllers. 更多...
|
| |
|
bool | AddLevel (ULevel *InLevel) |
| | Add a level to the level list.
|
| |
| FDelegateHandle | AddMovieSceneSequenceTickHandler (const FOnMovieSceneSequenceTick::FDelegate &InHandler) |
| | Adds a tick handler for sequences. 更多...
|
| |
| void | AddNetworkActor (AActor *Actor) |
| | Adds the passed in actor to the special network actor list This list is used to specifically single out actors that are relevant for networking without having to scan the much large list 更多...
|
| |
|
FDelegateHandle | AddOnActorPreSpawnInitialization (const FOnActorSpawned::FDelegate &InHandler) |
| | Add a listener for OnActorPreSpawnInitialization events
|
| |
|
FDelegateHandle | AddOnActorSpawnedHandler (const FOnActorSpawned::FDelegate &InHandler) |
| | Add a listener for OnActorSpawned events
|
| |
|
void | AddParameterCollectionInstance (class UMaterialParameterCollection *Collection, bool bUpdateScene) |
| | Adds a new instance of the given collection, or overwrites an existing instance if there is one.
|
| |
| void | AddPhysicsVolume (APhysicsVolume *Volume) |
| | Add a physics volume to the list of those in the world. 更多...
|
| |
|
void | AddPostProcessingSettings (FVector ViewLocation, FSceneView *SceneView) |
| | Called when a scene view for this world needs the worlds post process settings computed
|
| |
|
void | AddStreamingLevel (ULevelStreaming *StreamingLevelToAdd) |
| | Add a streaming level to the list of streamed levels to consider.
|
| |
| void | AddStreamingLevels (TArrayView< ULevelStreaming *const > StreamingLevelsToAdd) |
| | Add multiple streaming levels to the list of streamed levels to consider. 更多...
|
| |
| void | AddToWorld (ULevel *Level, const FTransform &LevelTransform=FTransform::Identity, bool bConsiderTimeLimit=true) |
| | Associates the passed in level with the world. 更多...
|
| |
| void | AddUniqueStreamingLevel (ULevelStreaming *StreamingLevelToAdd) |
| | Add a streaming level to the list of streamed levels to consider. 更多...
|
| |
| void | AddUniqueStreamingLevels (TArrayView< ULevelStreaming *const > StreamingLevelsToAdd) |
| | Add multiple streaming levels to the list of streamed levels to consider. 更多...
|
| |
| bool | AllowAudioPlayback () const |
| | Returns whether audio playback is allowed for this scene. 更多...
|
| |
| bool | AllowLevelLoadRequests () |
| | Returns whether the level streaming code is allowed to issue load requests. 更多...
|
| |
|
bool | AreActorsInitialized () const |
| | Returns true if the actors have been initialized and are ready to start play
|
| |
|
bool | AreAlwaysLoadedLevelsLoaded () const |
| | Returns whether all the 'always loaded' levels are loaded.
|
| |
| FTraceHandle | AsyncLineTraceByChannel (EAsyncTraceType InTraceType, const FVector &Start, const FVector &End, ECollisionChannel TraceChannel, const FCollisionQueryParams &Params=FCollisionQueryParams::DefaultQueryParam, const FCollisionResponseParams &ResponseParam=FCollisionResponseParams::DefaultResponseParam, FTraceDelegate *InDelegate=NULL, uint32 UserData=0) |
| | Interface for Async. 更多...
|
| |
| FTraceHandle | AsyncLineTraceByObjectType (EAsyncTraceType InTraceType, const FVector &Start, const FVector &End, const FCollisionObjectQueryParams &ObjectQueryParams, const FCollisionQueryParams &Params=FCollisionQueryParams::DefaultQueryParam, FTraceDelegate *InDelegate=NULL, uint32 UserData=0) |
| | Interface for Async. 更多...
|
| |
| void | AsyncLoadAlwaysLoadedLevelsForSeamlessTravel () |
| | Requests async loading of any 'always loaded' level. 更多...
|
| |
| FTraceHandle | AsyncOverlapByChannel (const FVector &Pos, const FQuat &Rot, ECollisionChannel TraceChannel, const FCollisionShape &CollisionShape, const FCollisionQueryParams &Params=FCollisionQueryParams::DefaultQueryParam, const FCollisionResponseParams &ResponseParam=FCollisionResponseParams::DefaultResponseParam, FOverlapDelegate *InDelegate=NULL, uint32 UserData=0) |
| | Interface for Async trace Pretty much same parameter set except you can optional set delegate to be called when execution is completed and you can set UserData if you'd like if no delegate, you can query trace data using QueryTraceData or QueryOverlapData the data is available only in the next frame after request is made - in other words, if request is made in frame X, you can get the result in frame (X+1) 更多...
|
| |
| FTraceHandle | AsyncOverlapByObjectType (const FVector &Pos, const FQuat &Rot, const FCollisionObjectQueryParams &ObjectQueryParams, const FCollisionShape &CollisionShape, const FCollisionQueryParams &Params=FCollisionQueryParams::DefaultQueryParam, FOverlapDelegate *InDelegate=NULL, uint32 UserData=0) |
| | Interface for Async trace Pretty much same parameter set except you can optional set delegate to be called when execution is completed and you can set UserData if you'd like if no delegate, you can query trace data using QueryTraceData or QueryOverlapData the data is available only in the next frame after request is made - in other words, if request is made in frame X, you can get the result in frame (X+1) 更多...
|
| |
| FTraceHandle | AsyncSweepByChannel (EAsyncTraceType InTraceType, const FVector &Start, const FVector &End, const FQuat &Rot, ECollisionChannel TraceChannel, const FCollisionShape &CollisionShape, const FCollisionQueryParams &Params=FCollisionQueryParams::DefaultQueryParam, const FCollisionResponseParams &ResponseParam=FCollisionResponseParams::DefaultResponseParam, FTraceDelegate *InDelegate=NULL, uint32 UserData=0) |
| | Interface for Async trace Pretty much same parameter set except you can optional set delegate to be called when execution is completed and you can set UserData if you'd like if no delegate, you can query trace data using QueryTraceData or QueryOverlapData the data is available only in the next frame after request is made - in other words, if request is made in frame X, you can get the result in frame (X+1) 更多...
|
| |
| FTraceHandle | AsyncSweepByObjectType (EAsyncTraceType InTraceType, const FVector &Start, const FVector &End, const FQuat &Rot, const FCollisionObjectQueryParams &ObjectQueryParams, const FCollisionShape &CollisionShape, const FCollisionQueryParams &Params=FCollisionQueryParams::DefaultQueryParam, FTraceDelegate *InDelegate=NULL, uint32 UserData=0) |
| | Interface for Async trace Pretty much same parameter set except you can optional set delegate to be called when execution is completed and you can set UserData if you'd like if no delegate, you can query trace data using QueryTraceData or QueryOverlapData the data is available only in the next frame after request is made - in other words, if request is made in frame X, you can get the result in frame (X+1) 更多...
|
| |
| virtual void | BeginDestroy () override |
| | Called before destroying the object. 更多...
|
| |
| void | BeginPlay () |
| | Start gameplay. 更多...
|
| |
|
void | BeginTearingDown () |
| | Mark the world as being torn down
|
| |
|
void | BroadcastLevelsChanged () |
| | Broadcasts that the number of levels has changed.
|
| |
| void | CancelPendingMapChange () |
| | cancels pending map change ( 更多...
|
| |
| void | CleanupActors () |
| | Remove NULL entries from actor list. 更多...
|
| |
| void | CleanupWorld (bool bSessionEnded=true, bool bCleanupResources=true, UWorld *NewWorld=nullptr) |
| | Cleans up components, streaming data and assorted other intermediate data. 更多...
|
| |
| void | ClearActorComponentEndOfFrameUpdate (UActorComponent *Component) |
| | Clears the need for a component to have a end of frame update 更多...
|
| |
|
void | ClearStreamingLevels () |
| | Reset the streaming levels array
|
| |
| void | ClearWorldComponents () |
| | Clears all level components and world components like e.g. 更多...
|
| |
|
void | CommitMapChange () |
| | actually performs the map transition prepared by PrepareMapChange() it happens in the next tick to avoid GC issues if a map change is being prepared but isn't ready yet, the transition code will block until it is wait until IsMapChangeReady() returns true if this is undesired behavior
|
| |
|
void | CommitModelSurfaces () |
| | Commits changes made to the surfaces of the UModels of all levels.
|
| |
| bool | ComponentOverlapMulti (TArray< struct FOverlapResult > &OutOverlaps, const class UPrimitiveComponent *PrimComp, const FVector &Pos, const FQuat &Rot, const FComponentQueryParams &Params=FComponentQueryParams::DefaultComponentQueryParams, const FCollisionObjectQueryParams &ObjectQueryParams=FCollisionObjectQueryParams::DefaultObjectQueryParam) const |
| | Test the collision of the supplied component at the supplied location/rotation using object types, and determine the set of components that it overlaps 更多...
|
| |
| bool | ComponentOverlapMultiByChannel (TArray< struct FOverlapResult > &OutOverlaps, const class UPrimitiveComponent *PrimComp, const FVector &Pos, const FQuat &Rot, ECollisionChannel TraceChannel, const FComponentQueryParams &Params=FComponentQueryParams::DefaultComponentQueryParams, const FCollisionObjectQueryParams &ObjectQueryParams=FCollisionObjectQueryParams::DefaultObjectQueryParam) const |
| | Test the collision of the supplied component at the supplied location/rotation using a specific channel, and determine the set of components that it overlaps 更多...
|
| |
| bool | ComponentSweepMulti (TArray< struct FHitResult > &OutHits, class UPrimitiveComponent *PrimComp, const FVector &Start, const FVector &End, const FQuat &Rot, const FComponentQueryParams &Params) const |
| | Sweep the geometry of the supplied component, and determine the set of components that it hits. 更多...
|
| |
|
void | ConditionallyBuildStreamingData () |
| | Calls ULevel::BuildStreamingData(this,NULL,NULL) if it has been triggered within the last few seconds.
|
| |
| bool | ContainsActor (AActor *Actor) const |
| | Returns whether the passed in actor is part of any of the loaded levels actors array. 更多...
|
| |
|
bool | ContainsLevel (ULevel *InLevel) const |
| | Does the level list contain the given level.
|
| |
|
void | CopyGameState (AGameModeBase *FromGameMode, AGameStateBase *FromGameState) |
| | Copies GameState properties from the GameMode.
|
| |
| UAISystemBase * | CreateAISystem () |
| | AISystem getter. 更多...
|
| |
|
void | CreateFXSystem () |
| | Creates a new FX system for this world
|
| |
|
void | CreatePhysicsScene (const AWorldSettings *Settings=nullptr) |
| | Creates a new physics scene for this world.
|
| |
|
| DECLARE_EVENT_TwoParams (UWorld, FOnBeginPostProcessSettings, FVector, FSceneView *) |
| | Called when the world computes how post process volumes contribute to the scene.
|
| |
|
void | DelayGarbageCollection () |
| | Requests a one frame delay of Garbage Collection
|
| |
|
void | DelayStreamingVolumeUpdates (int32 InFrameDelay) |
| | Sets the number of frames to delay Streaming Volume updating, useful if you preload a bunch of levels but the camera hasn't caught up yet
|
| |
| bool | DestroyActor (AActor *Actor, bool bNetForce=false, bool bShouldModifyLevel=true) |
| | Removes the actor from its level's actor list and generally cleans up the engine's internal state. 更多...
|
| |
| bool | DestroySwappedPC (UNetConnection *Connection) |
| | Looks for a PlayerController that was being swapped by the given NetConnection and, if found, destroys it (because the swap is complete or the connection was closed) 更多...
|
| |
| void | DestroyWorld (bool bInformEngineOfWorld, UWorld *NewWorld=nullptr) |
| | Destroy this World instance. 更多...
|
| |
| void | DuplicateRequestedLevels (const FName MapName) |
| | Creates a new level collection of type DynamicDuplicatedLevels by duplicating the levels in DynamicSourceLevels. 更多...
|
| |
| bool | EditorDestroyActor (AActor *Actor, bool bShouldModifyLevel) |
| | Wrapper for DestroyActor() that should be called in the editor. 更多...
|
| |
| bool | EncroachingBlockingGeometry (const AActor *TestActor, FVector TestLocation, FRotator TestRotation, FVector *ProposedAdjustment=NULL) |
| | @Return true if Actor would encroach at TestLocation on something that blocks it. 更多...
|
| |
| void | EnsureCollisionTreeIsBuilt () |
| | Ensures that the collision detection tree is fully built. 更多...
|
| |
|
bool | Exec (UWorld *InWorld, const TCHAR *Cmd, FOutputDevice &Ar=*GLog) |
| | Handle Exec/Console Commands related to the World
|
| |
|
FLevelCollection * | FindCollectionByType (const ELevelCollectionType InType) |
| | Returns the FLevelCollection for the given InType, or null if a collection of that type hasn't been created yet.
|
| |
|
const FLevelCollection * | FindCollectionByType (const ELevelCollectionType InType) const |
| | Returns the FLevelCollection for the given InType, or null if a collection of that type hasn't been created yet.
|
| |
|
int32 | FindCollectionIndexByType (const ELevelCollectionType InType) const |
| | Returns the index of the FLevelCollection with the given InType, or INDEX_NONE if a collection of that type hasn't been created yet.
|
| |
| FLevelCollection & | FindOrAddCollectionByType (const ELevelCollectionType InType) |
| | Returns the FLevelCollection for the given InType. 更多...
|
| |
| int32 | FindOrAddCollectionByType_Index (const ELevelCollectionType InType) |
| | Returns the index of the first FLevelCollection of the given InType. 更多...
|
| |
| bool | FindTeleportSpot (const AActor *TestActor, FVector &PlaceLocation, FRotator PlaceRotation) |
| | Try to find an acceptable non-colliding location to place TestActor as close to possible to PlaceLocation. 更多...
|
| |
| virtual void | FinishDestroy () override |
| | Called to finish destroying the object. 更多...
|
| |
|
void | FinishPhysicsSim () |
| | Waits for the physics scene to be done processing
|
| |
|
void | FlushDeferredParameterCollectionInstanceUpdates () |
| | Flush any pending parameter collection updates to the render thrad.
|
| |
| void | FlushLevelStreaming (EFlushLevelStreamingType FlushType=EFlushLevelStreamingType::Full) |
| | Flushes level streaming in blocking fashion and returns when all levels are loaded/ visible/ hidden so further calls to UpdateLevelStreaming won't do any work unless state changes. 更多...
|
| |
|
void | ForceGarbageCollection (bool bFullPurge=false) |
| | Updates the timer between garbage collection such that at the next opportunity garbage collection will be run.
|
| |
| const FLevelCollection * | GetActiveLevelCollection () const |
| | Returns the level collection which currently has its context set on this world. 更多...
|
| |
| int32 | GetActiveLevelCollectionIndex () const |
| | Returns the index of the level collection which currently has its context set on this world. 更多...
|
| |
|
ULevel * | GetActiveLightingScenario () const |
| | Returns the active lighting scenario for this world or NULL if none.
|
| |
|
int32 | GetActorCount () |
| | Returns the actor count.
|
| |
|
FORCEINLINE UAISystemBase * | GetAISystem () |
| | AISystem getter
|
| |
|
FORCEINLINE const UAISystemBase * | GetAISystem () const |
| | AISystem const getter
|
| |
|
FAudioDeviceHandle | GetAudioDevice () |
| | Get the audio device used by this world.
|
| |
| class FAudioDevice * | GetAudioDeviceRaw () |
| | Returns the audio device associated with this world. 更多...
|
| |
| class AAudioVolume * | GetAudioSettings (const FVector &ViewLocation, struct FReverbSettings *OutReverbSettings, struct FInteriorSettings *OutInteriorSettings) |
| | Finds the audio settings to use for a given view location, taking into account the world's default settings and the audio volumes in the world. 更多...
|
| |
| float | GetAudioTimeSeconds () const |
| | Returns time in seconds since world was brought up for play, IS stopped when game pauses, NOT dilated/clamped 更多...
|
| |
| template<class T > |
| T * | GetAuthGameMode () const |
| | Returns the current Game Mode instance cast to the template type. 更多...
|
| |
| AGameModeBase * | GetAuthGameMode () const |
| | Returns the current Game Mode instance, which is always valid during gameplay on the server. 更多...
|
| |
|
FConstCameraActorIterator | GetAutoActivateCameraIterator () const |
| | Get an iterator for the list of CameraActors that auto-activate for PlayerControllers.
|
| |
|
FORCEINLINE class UAvoidanceManager * | GetAvoidanceManager () |
| | Avoidance manager getter
|
| |
|
FORCEINLINE const class UAvoidanceManager * | GetAvoidanceManager () const |
| | Avoidance manager getter
|
| |
| UCanvas * | GetCanvasForRenderingToTarget () |
| | Gets the canvas object for rendering to a render target. 更多...
|
| |
|
FConstControllerIterator | GetControllerIterator () const |
| | Returns an iterator for the controller list.
|
| |
|
class ULevel * | GetCurrentLevel () const |
| | Get the CurrentLevel for this world.
|
| |
|
ULevel * | GetCurrentLevelPendingInvisibility () const |
| | Returns the level, if any, in the process of being made invisible
|
| |
|
ULevel * | GetCurrentLevelPendingVisibility () const |
| | Returns the level, if any, in the process of being made visible
|
| |
| ABrush * | GetDefaultBrush () const |
| | Returns the default brush for the persistent level. 更多...
|
| |
| float | GetDefaultGravityZ () const |
| | Returns the Z component of the default world gravity. 更多...
|
| |
| APhysicsVolume * | GetDefaultPhysicsVolume () const |
| | Returns the default physics volume and creates it if necessary. 更多...
|
| |
| float | GetDeltaSeconds () const |
| | Returns the frame delta time in seconds adjusted by e.g. 更多...
|
| |
|
PRAGMA_DISABLE_DEPRECATION_WARNINGS UDemoNetDriver * | GetDemoNetDriver () const |
| | Gets the demo net driver for this world.
|
| |
| int32 | GetDetailMode () |
| |
| template<class T > |
| T * | GetFirstPlayerController () const |
| |
| APlayerController * | GetFirstPlayerController () const |
| |
|
UGameInstance * | GetGameInstance () const |
| | Returns the owning game instance for this world
|
| |
|
template<class T > |
| T * | GetGameInstance () const |
| | Returns the OwningGameInstance cast to the template type.
|
| |
|
template<class T > |
| T * | GetGameInstanceChecked () const |
| | Returns the OwningGameInstance cast to the template type, asserting that it is of the correct type.
|
| |
|
template<class T > |
| T * | GetGameState () const |
| | Returns the current GameState instance cast to the template type.
|
| |
|
AGameStateBase * | GetGameState () const |
| | Returns the current GameState instance.
|
| |
|
UGameViewportClient * | GetGameViewport () const |
| | Returns a reference to the game viewport displaying this world if one exists.
|
| |
| float | GetGravityZ () const |
| | Returns the Z component of the current world gravity. 更多...
|
| |
| FLatentActionManager & | GetLatentActionManager () |
| | Returns LatentActionManager instance, preferring the one allocated by the game instance if a game instance is associated with this. 更多...
|
| |
|
ULevel * | GetLevel (int32 InLevelIndex) const |
| | Return the level with the given index.
|
| |
|
const TArray< FLevelCollection > & | GetLevelCollections () const |
| | Returns a read-only reference to the list of level collections in this world.
|
| |
|
FConstLevelIterator | GetLevelIterator () const |
| | Returns an iterator for the level list.
|
| |
|
const TArray< class ULevel * > & | GetLevels () const |
| | Return the list of levels in this world.
|
| |
| class ALevelScriptActor * | GetLevelScriptActor (class ULevel *OwnerLevel=NULL) const |
| | Returns the current (or specified) level's level scripting actor 更多...
|
| |
|
ULevelStreaming * | GetLevelStreamingForPackageName (FName PackageName) |
| | Utility for returning the ULevelStreaming object for a particular sub-level, specified by package name
|
| |
| void | GetLightMapsAndShadowMaps (ULevel *Level, TArray< UTexture2D * > &OutLightMapsAndShadowMaps) |
| | Gets all LightMaps and ShadowMaps associated with this world. 更多...
|
| |
|
virtual FString | GetLocalURL () const |
| | Return the URL of this level on the local machine.
|
| |
| const FString | GetMapName () const |
| | Returns the name of the current map, taking into account using a dummy persistent world and loading levels into it via PrepareMapChange. 更多...
|
| |
|
void | GetMatineeActors (TArray< AMatineeActor * > &OutMatineeActors) |
| | Gets all matinee actors for the current level
|
| |
| UModel * | GetModel () const |
| | Returns the current levels BSP model. 更多...
|
| |
|
FORCEINLINE UNavigationSystemBase * | GetNavigationSystem () |
| | NavigationSystem getter
|
| |
|
FORCEINLINE const UNavigationSystemBase * | GetNavigationSystem () const |
| | NavigationSystem const getter
|
| |
| FORCEINLINE_DEBUGGABLE UNetDriver * | GetNetDriver () const |
| | Used to get a net driver object. 更多...
|
| |
| ENetMode | GetNetMode () const |
| | Returns the net mode this world is running under. 更多...
|
| |
|
int32 | GetNonDefaultPhysicsVolumeCount () const |
| | Get the count of all PhysicsVolumes in the world that are not a DefaultPhysicsVolume.
|
| |
|
FConstPhysicsVolumeIterator | GetNonDefaultPhysicsVolumeIterator () const |
| | Get an iterator for all PhysicsVolumes in the world that are not a DefaultPhysicsVolume.
|
| |
| int32 | GetNumControllers () const |
| |
|
int32 | GetNumLevels () const |
| | Return the number of levels in this world.
|
| |
| int32 | GetNumPawns () const |
| |
| int32 | GetNumPlayerControllers () const |
| |
|
UMaterialParameterCollectionInstance * | GetParameterCollectionInstance (const UMaterialParameterCollection *Collection) |
| | Gets this world's instance for a given collection.
|
| |
| FConstPawnIterator | GetPawnIterator () const |
| |
|
FPhysScene * | GetPhysicsScene () const |
| | Returns a pointer to the physics scene for this world.
|
| |
| FConstPlayerControllerIterator | GetPlayerControllerIterator () const |
| |
| virtual FPrimaryAssetId | GetPrimaryAssetId () const override |
| | Returns an Type:Name pair representing the PrimaryAssetId for this object. 更多...
|
| |
|
int32 | GetProgressDenominator () |
| | Returns the actor count.
|
| |
| float | GetRealTimeSeconds () const |
| | Returns time in seconds since world was brought up for play, does NOT stop when game pauses, NOT dilated/clamped 更多...
|
| |
|
const TArray< ULevelStreaming * > & | GetStreamingLevels () const |
| | Return a const version of the streaming levels array
|
| |
|
template<typename TSubsystemClass > |
| TSubsystemClass * | GetSubsystem () const |
| | Get a Subsystem of specified type
|
| |
| template<typename TSubsystemClass > |
| const TArray< TSubsystemClass * > & | GetSubsystemArray () const |
| | Get all Subsystem of specified type, this is only necessary for interfaces that can have multiple implementations instanced at a time. 更多...
|
| |
|
UWorldSubsystem * | GetSubsystemBase (TSubclassOf< UWorldSubsystem > SubsystemClass) const |
| | Get a Subsystem of specified type
|
| |
|
float | GetTimeBetweenGarbageCollectionPasses () const |
| | Returns the current desired time between garbage collection passes (not the time remaining)
|
| |
|
FTimerManager & | GetTimerManager () const |
| | Returns TimerManager instance for this world.
|
| |
| float | GetTimeSeconds () const |
| | Returns time in seconds since world was brought up for play, IS stopped when game pauses, IS dilated/clamped 更多...
|
| |
| float | GetUnpausedTimeSeconds () const |
| | Returns time in seconds since world was brought up for play, IS NOT stopped when game pauses, IS dilated/clamped 更多...
|
| |
|
void | HandleTimelineScrubbed () |
| | Called from DemoNetDriver when playing back a replay and the timeline is successfully scrubbed
|
| |
|
bool | HasBegunPlay () const |
| | Returns true if gameplay has already started, false otherwise.
|
| |
|
bool | HasDefaultPhysicsVolume () const |
| | Returns true if a DefaultPhysicsVolume has been created.
|
| |
|
bool | HasEndOfFrameUpdates () const |
| | Returns true if we have any updates that have been deferred to the end of the current frame.
|
| |
|
bool | HasMarkedObjectsPendingKill () const |
| | Indicates that the world has marked contained objects as pending kill
|
| |
| void | InitializeActorsForPlay (const FURL &InURL, bool bResetTime=true, FRegisterComponentContext *Context=nullptr) |
| | Initializes all actors and prepares them to start gameplay 更多...
|
| |
|
void | InitializeNewWorld (const InitializationValues IVS=InitializationValues()) |
| | Initializes a newly created world.
|
| |
|
void | InitializeSubsystems () |
| | Initialize all world subsystems
|
| |
|
void | InitWorld (const InitializationValues IVS=InitializationValues()) |
| | Initializes the world, associates the persistent level and sets the proper zones.
|
| |
|
void | InsertPostProcessVolume (IInterface_PostProcessVolume *InVolume) |
| | Inserts a post process volume into the world in priority order
|
| |
| void | InvalidateModelGeometry (ULevel *InLevel) |
| | Invalidates the cached data used to render the levels' UModel. 更多...
|
| |
| void | InvalidateModelSurface (bool bCurrentLevelOnly) |
| | Discards the cached data used to render the levels' UModel. 更多...
|
| |
| bool | IsCameraMoveable () const |
| |
| bool | IsClient () const |
| |
|
bool | IsEditorWorld () const |
| | Returns true if this world is any kind of editor world (including editor preview worlds)
|
| |
|
bool | IsGameWorld () const |
| | Returns true if this world is any kind of game world (including PIE worlds)
|
| |
| bool | IsInSeamlessTravel () |
| |
| bool | IsMapChangeReady () |
| |
|
bool | IsNavigationRebuilt () const |
| | Retrieves information whether all navigation with this world has been rebuilt
|
| |
| bool | IsNetMode (ENetMode Mode) const |
| | Test whether net mode is the given mode. 更多...
|
| |
| bool | IsPaused () const |
| |
|
bool | IsPlayInEditor () const |
| | Returns whether script is executing within the editor.
|
| |
|
bool | IsPlayingClientReplay () const |
| | Returns true if the demo net driver exists and is playing a client recorded replay.
|
| |
|
bool | IsPlayingReplay () const |
| | Returns true if we are currently playing a replay
|
| |
|
bool | IsPlayInMobilePreview () const |
| | Returns whether script is executing within a mobile preview window
|
| |
|
bool | IsPlayInPreview () const |
| | Returns whether script is executing within a preview window
|
| |
|
bool | IsPlayInVulkanPreview () const |
| | Returns whether script is executing within a vulkan preview window
|
| |
| bool | IsPreparingMapChange () |
| |
|
bool | IsPreviewWorld () const |
| | Returns true if this world is a preview game world (editor or game)
|
| |
|
bool | IsRecordingClientReplay () const |
| | Returns true if the game net driver exists and is a client and the demo net driver exists and is a server.
|
| |
|
bool | IsRecordingReplay () const |
| | Returns true if we are currently recording a replay
|
| |
| bool | IsServer () const |
| |
| bool | IsTraceHandleValid (const FTraceHandle &Handle, bool bOverlapTrace) |
| | See if TraceHandle is still valid or not 更多...
|
| |
| bool | IsVisibilityRequestPending () const |
| |
| AWorldSettings * | K2_GetWorldSettings () |
| | Returns the AWorldSettings actor associated with this world. 更多...
|
| |
| bool | LineTraceMultiByChannel (TArray< struct FHitResult > &OutHits, const FVector &Start, const FVector &End, ECollisionChannel TraceChannel, const FCollisionQueryParams &Params=FCollisionQueryParams::DefaultQueryParam, const FCollisionResponseParams &ResponseParam=FCollisionResponseParams::DefaultResponseParam) const |
| | Trace a ray against the world using a specific channel and return overlapping hits and then first blocking hit Results are sorted, so a blocking hit (if found) will be the last element of the array Only the single closest blocking result will be generated, no tests will be done after that 更多...
|
| |
| bool | LineTraceMultiByObjectType (TArray< struct FHitResult > &OutHits, const FVector &Start, const FVector &End, const FCollisionObjectQueryParams &ObjectQueryParams, const FCollisionQueryParams &Params=FCollisionQueryParams::DefaultQueryParam) const |
| | Trace a ray against the world using object types and return overlapping hits and then first blocking hit Results are sorted, so a blocking hit (if found) will be the last element of the array Only the single closest blocking result will be generated, no tests will be done after that 更多...
|
| |
| bool | LineTraceMultiByProfile (TArray< struct FHitResult > &OutHits, const FVector &Start, const FVector &End, FName ProfileName, const FCollisionQueryParams &Params=FCollisionQueryParams::DefaultQueryParam) const |
| | Trace a ray against the world using a specific profile and return overlapping hits and then first blocking hit Results are sorted, so a blocking hit (if found) will be the last element of the array Only the single closest blocking result will be generated, no tests will be done after that 更多...
|
| |
| bool | LineTraceSingleByChannel (struct FHitResult &OutHit, const FVector &Start, const FVector &End, ECollisionChannel TraceChannel, const FCollisionQueryParams &Params=FCollisionQueryParams::DefaultQueryParam, const FCollisionResponseParams &ResponseParam=FCollisionResponseParams::DefaultResponseParam) const |
| | Trace a ray against the world using a specific channel and return the first blocking hit 更多...
|
| |
| bool | LineTraceSingleByObjectType (struct FHitResult &OutHit, const FVector &Start, const FVector &End, const FCollisionObjectQueryParams &ObjectQueryParams, const FCollisionQueryParams &Params=FCollisionQueryParams::DefaultQueryParam) const |
| | Trace a ray against the world using object types and return the first blocking hit 更多...
|
| |
| bool | LineTraceSingleByProfile (struct FHitResult &OutHit, const FVector &Start, const FVector &End, FName ProfileName, const FCollisionQueryParams &Params=FCollisionQueryParams::DefaultQueryParam) const |
| | Trace a ray against the world using a specific profile and return the first blocking hit 更多...
|
| |
| bool | LineTraceTestByChannel (const FVector &Start, const FVector &End, ECollisionChannel TraceChannel, const FCollisionQueryParams &Params=FCollisionQueryParams::DefaultQueryParam, const FCollisionResponseParams &ResponseParam=FCollisionResponseParams::DefaultResponseParam) const |
| | Trace a ray against the world using a specific channel and return if a blocking hit is found. 更多...
|
| |
| bool | LineTraceTestByObjectType (const FVector &Start, const FVector &End, const FCollisionObjectQueryParams &ObjectQueryParams, const FCollisionQueryParams &Params=FCollisionQueryParams::DefaultQueryParam) const |
| | Trace a ray against the world using object types and return if a blocking hit is found. 更多...
|
| |
| bool | LineTraceTestByProfile (const FVector &Start, const FVector &End, FName ProfileName, const FCollisionQueryParams &Params=FCollisionQueryParams::DefaultQueryParam) const |
| | Trace a ray against the world using a specific profile and return if a blocking hit is found. 更多...
|
| |
| void | LoadSecondaryLevels (bool bForce=false, TSet< FName > *FilenamesToSkip=NULL) |
| | Called after GWorld has been set. 更多...
|
| |
| void | MarkActorComponentForNeededEndOfFrameUpdate (UActorComponent *Component, bool bForceGameThread) |
| | Mark a component as needing an end of frame update 更多...
|
| |
|
void | MarkObjectsPendingKill () |
| | Marks this world and all objects within as pending kill
|
| |
|
void | ModifyLevel (ULevel *Level) const |
| | Transacts the specified level – the correct way to modify a level as opposed to calling Level->Modify.
|
| |
|
void | NavigateTo (FIntVector InLocation) |
| | Sets world origin at specified position and stream-in all relevant levels
|
| |
| virtual void | NotifyAcceptedConnection (class UNetConnection *Connection) override |
| | Notification that a new connection has been created/established as a result of a remote request, previously approved by NotifyAcceptingConnection 更多...
|
| |
| virtual bool | NotifyAcceptingChannel (class UChannel *Channel) override |
| | Notification that a new channel is being created/opened as a result of a remote request (Actor creation, etc) 更多...
|
| |
| virtual EAcceptConnection::Type | NotifyAcceptingConnection () override |
| | Notification that an incoming connection is pending, giving the interface a chance to reject the request 更多...
|
| |
| virtual void | NotifyControlMessage (UNetConnection *Connection, uint8 MessageType, class FInBunch &Bunch) override |
| | Handler for messages sent through a remote connection's control channel not required to handle the message, but if it reads any data from Bunch, it MUST read the ENTIRE data stream for that message (i.e. 更多...
|
| |
| void | NotifyOfBlueprintDebuggingAssociation (class UBlueprint *Blueprint, UObject *DebugObject) |
| | Notifies the world of a blueprint debugging reference 更多...
|
| |
|
FOnBeginTearingDownEvent & | OnBeginTearingDown () |
| | Returns the BeginTearingDownEvent member.
|
| |
|
FOnLevelsChangedEvent & | OnLevelsChanged () |
| | Returns the LevelsChangedEvent member.
|
| |
|
FOnNetTickEvent & | OnTickDispatch () |
| | Network Tick events
|
| |
| bool | OverlapAnyTestByChannel (const FVector &Pos, const FQuat &Rot, ECollisionChannel TraceChannel, const FCollisionShape &CollisionShape, const FCollisionQueryParams &Params=FCollisionQueryParams::DefaultQueryParam, const FCollisionResponseParams &ResponseParam=FCollisionResponseParams::DefaultResponseParam) const |
| | Test the collision of a shape at the supplied location using a specific channel, and return if any blocking or overlapping shape is found 更多...
|
| |
| bool | OverlapAnyTestByObjectType (const FVector &Pos, const FQuat &Rot, const FCollisionObjectQueryParams &ObjectQueryParams, const FCollisionShape &CollisionShape, const FCollisionQueryParams &Params=FCollisionQueryParams::DefaultQueryParam) const |
| | Test the collision of a shape at the supplied location using object types, and return if any overlap is found 更多...
|
| |
| bool | OverlapAnyTestByProfile (const FVector &Pos, const FQuat &Rot, FName ProfileName, const FCollisionShape &CollisionShape, const FCollisionQueryParams &Params=FCollisionQueryParams::DefaultQueryParam) const |
| | Test the collision of a shape at the supplied location using a specific profile, and return if any blocking or overlap is found 更多...
|
| |
| bool | OverlapBlockingTestByChannel (const FVector &Pos, const FQuat &Rot, ECollisionChannel TraceChannel, const FCollisionShape &CollisionShape, const FCollisionQueryParams &Params=FCollisionQueryParams::DefaultQueryParam, const FCollisionResponseParams &ResponseParam=FCollisionResponseParams::DefaultResponseParam) const |
| | Test the collision of a shape at the supplied location using a specific channel, and return if any blocking overlap is found 更多...
|
| |
| bool | OverlapBlockingTestByProfile (const FVector &Pos, const FQuat &Rot, FName ProfileName, const FCollisionShape &CollisionShape, const FCollisionQueryParams &Params=FCollisionQueryParams::DefaultQueryParam) const |
| | Test the collision of a shape at the supplied location using a specific profile, and return if any blocking overlap is found 更多...
|
| |
| bool | OverlapMultiByChannel (TArray< struct FOverlapResult > &OutOverlaps, const FVector &Pos, const FQuat &Rot, ECollisionChannel TraceChannel, const FCollisionShape &CollisionShape, const FCollisionQueryParams &Params=FCollisionQueryParams::DefaultQueryParam, const FCollisionResponseParams &ResponseParam=FCollisionResponseParams::DefaultResponseParam) const |
| | Test the collision of a shape at the supplied location using a specific channel, and determine the set of components that it overlaps 更多...
|
| |
| bool | OverlapMultiByObjectType (TArray< struct FOverlapResult > &OutOverlaps, const FVector &Pos, const FQuat &Rot, const FCollisionObjectQueryParams &ObjectQueryParams, const FCollisionShape &CollisionShape, const FCollisionQueryParams &Params=FCollisionQueryParams::DefaultQueryParam) const |
| | Test the collision of a shape at the supplied location using object types, and determine the set of components that it overlaps 更多...
|
| |
| bool | OverlapMultiByProfile (TArray< struct FOverlapResult > &OutOverlaps, const FVector &Pos, const FQuat &Rot, FName ProfileName, const FCollisionShape &CollisionShape, const FCollisionQueryParams &Params=FCollisionQueryParams::DefaultQueryParam) const |
| | Test the collision of a shape at the supplied location using a specific profile, and determine the set of components that it overlaps 更多...
|
| |
| bool | ParallelLineTraceSingleByChannel (struct FHitResult &OutHit, const FVector &Start, const FVector &End, ECollisionChannel TraceChannel, const FCollisionQueryParams &Params=FCollisionQueryParams::DefaultQueryParam, const FCollisionResponseParams &ResponseParam=FCollisionResponseParams::DefaultResponseParam) const |
| | Trace a ray against the world without blocking the physics scene using a specific channel and return the first blocking hit 更多...
|
| |
|
void | PerformGarbageCollectionAndCleanupActors () |
| | Interface to allow WorldSettings to request immediate garbage collection
|
| |
|
void | PopulateStreamingLevelsToConsider () |
| | Examine all streaming levels and determine which ones should be considered.
|
| |
| virtual void | PostDuplicate (bool bDuplicateForPIE) override |
| | Called after duplication & serialization and before PostLoad. 更多...
|
| |
| virtual void | PostLoad () override |
| | Do any object-specific cleanup required immediately after loading an object. 更多...
|
| |
| virtual void | PostSaveRoot (bool bCleanupIsRequired) override |
| | Called from within SavePackage on the passed in base/root object. 更多...
|
| |
| virtual void | PreDuplicate (FObjectDuplicationParameters &DupParams) override |
| | Called before duplication. 更多...
|
| |
| void | PrepareMapChange (const TArray< FName > &LevelNames) |
| | asynchronously loads the given levels in preparation for a streaming map transition. 更多...
|
| |
| virtual bool | PreSaveRoot (const TCHAR *Filename) override |
| | Called from within SavePackage on the passed in base/root object. 更多...
|
| |
| void | ProcessLevelStreamingVolumes (FVector *OverrideViewLocation=NULL) |
| | Issues level streaming load/unload requests based on whether local players are inside/outside level streaming volumes. 更多...
|
| |
|
void | PropagateLightingScenarioChange () |
| | Propagates a change to the active lighting scenario.
|
| |
|
bool | QueryOverlapData (const FTraceHandle &Handle, FOverlapDatum &OutData) |
| | Query function return true if already done and returning valid result - can be hit or no hit return false if either expired or not yet evaluated or invalid Use IsTraceHandleValid to find out if valid and to be evaluated
|
| |
|
bool | QueryTraceData (const FTraceHandle &Handle, FTraceDatum &OutData) |
| | Query function return true if already done and returning valid result - can be hit or no hit return false if either expired or not yet evaluated or invalid Use IsTraceHandleValid to find out if valid and to be evaluated
|
| |
|
void | RegisterAutoActivateCamera (ACameraActor *CameraActor, int32 PlayerIndex) |
| | Register a CameraActor that auto-activates for a PlayerController.
|
| |
|
void | ReleasePhysicsScene () |
| | Releases PhysicsScene manually
|
| |
| bool | RemapCompiledScriptActor (FString &Str) const |
| | Given a level script actor, modify the string such that it points to the correct instance of the object. 更多...
|
| |
| void | RemoveActor (AActor *Actor, bool bShouldModifyLevel) const |
| | Removes the passed in actor from the actor lists. 更多...
|
| |
| void | RemoveController (AController *Controller) |
| | Removes the passed in controller from the linked list of controllers. 更多...
|
| |
| void | RemoveFromWorld (ULevel *Level, bool bAllowIncrementalRemoval=false) |
| | Dissociates the passed in level from the world. 更多...
|
| |
|
bool | RemoveLevel (ULevel *InLevel) |
| | Remove a level from the level list.
|
| |
|
void | RemoveMovieSceneSequenceTickHandler (FDelegateHandle InHandle) |
| | Removes a tick handler for sequences
|
| |
| void | RemoveNetworkActor (AActor *Actor) const |
| | Removes the passed in actor to from special network actor list 更多...
|
| |
|
void | RemoveOnActorPreSpawnInitialization (FDelegateHandle InHandle) |
| | Remove a listener for OnActorPreSpawnInitialization events
|
| |
|
void | RemoveOnActorSpawnedHandler (FDelegateHandle InHandle) |
| | Remove a listener for OnActorSpawned events
|
| |
| void | RemovePawn (APawn *Pawn) const |
| | Removes the passed in pawn from the linked list of pawns. 更多...
|
| |
|
void | RemovePhysicsVolume (APhysicsVolume *Volume) |
| | Removes a physics volume from the list of those in the world.
|
| |
|
void | RemovePostProcessVolume (IInterface_PostProcessVolume *InVolume) |
| | Removes a post process volume from the world
|
| |
| bool | RemoveStreamingLevel (ULevelStreaming *StreamingLevelToRemove) |
| | Remove a streaming level to the list of streamed levels to consider. 更多...
|
| |
| bool | RemoveStreamingLevelAt (int32 IndexToRemove) |
| | Remove a streaming level to the list of streamed levels to consider. 更多...
|
| |
| int32 | RemoveStreamingLevels (TArrayView< ULevelStreaming *const > StreamingLevelsToRemove) |
| | Remove multiple streaming levels to the list of streamed levels to consider. 更多...
|
| |
|
void | RenameToPIEWorld (int32 PIEInstanceID) |
| | Rename this world such that it has the prefix on names for the given PIE Instance ID
|
| |
|
void | RequestNewWorldOrigin (FIntVector InNewOriginLocation) |
| | Request to translate world origin to specified position on next tick
|
| |
|
bool | RequiresHitProxies () const |
| | Accessor for bRequiresHitProxies.
|
| |
| void | RunTickGroup (ETickingGroup Group, bool bBlockTillComplete) |
| | Run a tick group, ticking all actors and components 更多...
|
| |
| void | SeamlessTravel (const FString &InURL, bool bAbsolute=false, FGuid MapPackageGuid=FGuid()) |
| | seamlessly travels to the given URL by first loading the entry level in the background, switching to it, and then loading the specified level. 更多...
|
| |
|
void | SendAllEndOfFrameUpdates () |
| | Send all render updates to the rendering thread.
|
| |
| virtual void | Serialize (FArchive &Ar) override |
| | Handles reading, writing, and reference collecting using FArchive. 更多...
|
| |
| virtual bool | ServerTravel (const FString &InURL, bool bAbsolute=false, bool bShouldSkipGameNotify=false) |
| | Jumps the server to new level. 更多...
|
| |
| void | SetActiveLevelCollection (int32 LevelCollectionIndex) |
| | Sets the level collection and its context on this world. 更多...
|
| |
|
void | SetDemoNetDriver (UDemoNetDriver *const InDemoNetDriver) |
| | Sets the demo net driver for this world.
|
| |
|
void | SetGameInstance (UGameInstance *NewGI) |
| | Sets the owning game instance for this world
|
| |
|
bool | SetGameMode (const FURL &InURL) |
| | Spawns GameMode for the level.
|
| |
|
void | SetGameState (AGameStateBase *NewGameState) |
| | Sets the current GameState instance on this world and the game state's level collection.
|
| |
| void | SetMapNeedsLightingFullyRebuilt (int32 InNumLightingUnbuiltObjects, int32 InNumUnbuiltReflectionCaptures) |
| | Sets NumLightingUnbuiltObjects to the specified value. 更多...
|
| |
|
void | SetMaterialParameterCollectionInstanceNeedsUpdate () |
| | Used to indicate a UMaterialParameterCollectionInstance needs a deferred update
|
| |
|
void | SetNavigationSystem (UNavigationSystemBase *InNavigationSystem) |
| | Set the pointer to the Navigation System instance.
|
| |
| void | SetNetDriver (UNetDriver *NewDriver) |
| | Sets the net driver to use for this world 更多...
|
| |
|
bool | SetNewWorldOrigin (FIntVector InNewOriginLocation) |
| | Translate world origin to specified position
|
| |
|
void | SetPhysicsScene (FPhysScene *InScene) |
| | Set the physics scene to use by this world
|
| |
| void | SetSeamlessTravelMidpointPause (bool bNowPaused) |
| | this function allows pausing the seamless travel in the middle, right before it starts loading the destination (i.e. 更多...
|
| |
| void | SetShouldTick (const bool bInShouldTick) |
| | Sets whether or not this world is ticked by the engine, but use it at your own risk! This could have unintended consequences if used carelessly. 更多...
|
| |
|
void | SetStreamingLevels (TArray< ULevelStreaming * > &&StreamingLevels) |
| | Replace the streaming levels array
|
| |
|
void | SetStreamingLevels (TArrayView< ULevelStreaming *const > StreamingLevels) |
| | Replace the streaming levels array
|
| |
| void | SetTimeUntilNextGarbageCollection (float MinTimeUntilNextPass) |
| | Updates the timer (as a one-off) that is used to trigger garbage collection; this should only be used for things like performance tests, using it recklessly can dramatically increase memory usage and cost of the eventual GC. 更多...
|
| |
| void | SetupParameterCollectionInstances () |
| | Creates instances for each parameter collection in memory. 更多...
|
| |
|
void | SetupPhysicsTickFunctions (float DeltaSeconds) |
| | Set up the physics tick function if they aren't already
|
| |
| bool | ShouldTick () const |
| | Returns whether or not this world is currently ticking. 更多...
|
| |
|
template<class T > |
| T * | SpawnActor (const FActorSpawnParameters &SpawnParameters=FActorSpawnParameters()) |
| | Templated version of SpawnActor that allows you to specify a class type via the template type
|
| |
|
template<class T > |
| T * | SpawnActor (FVector const &Location, FRotator const &Rotation, const FActorSpawnParameters &SpawnParameters=FActorSpawnParameters()) |
| | Templated version of SpawnActor that allows you to specify location and rotation in addition to class type via the template type
|
| |
|
template<class T > |
| T * | SpawnActor (UClass *Class, const FActorSpawnParameters &SpawnParameters=FActorSpawnParameters()) |
| | Templated version of SpawnActor that allows you to specify the class type via parameter while the return type is a parent class of that type
|
| |
|
template<class T > |
| T * | SpawnActor (UClass *Class, FTransform const &Transform, const FActorSpawnParameters &SpawnParameters=FActorSpawnParameters()) |
| | Templated version of SpawnActor that allows you to specify whole Transform class type via parameter while the return type is a parent class of that type
|
| |
| AActor * | SpawnActor (UClass *Class, FTransform const *Transform, const FActorSpawnParameters &SpawnParameters=FActorSpawnParameters()) |
| | Spawn Actors with given transform and SpawnParameters 更多...
|
| |
|
template<class T > |
| T * | SpawnActor (UClass *Class, FVector const &Location, FRotator const &Rotation, const FActorSpawnParameters &SpawnParameters=FActorSpawnParameters()) |
| | Templated version of SpawnActor that allows you to specify the rotation and location in addition class type via parameter while the return type is a parent class of that type
|
| |
| AActor * | SpawnActor (UClass *InClass, FVector const *Location=NULL, FRotator const *Rotation=NULL, const FActorSpawnParameters &SpawnParameters=FActorSpawnParameters()) |
| | Spawn Actors with given transform and SpawnParameters 更多...
|
| |
|
template<class T > |
| T * | SpawnActorAbsolute (FVector const &AbsoluteLocation, FRotator const &AbsoluteRotation, const FActorSpawnParameters &SpawnParameters=FActorSpawnParameters()) |
| | Templated version of SpawnActorAbsolute that allows you to specify absolute location and rotation in addition to class type via the template type
|
| |
| AActor * | SpawnActorAbsolute (UClass *Class, FTransform const &AbsoluteTransform, const FActorSpawnParameters &SpawnParameters=FActorSpawnParameters()) |
| | Spawn Actors with given absolute transform (override root component transform) and SpawnParameters 更多...
|
| |
|
template<class T > |
| T * | SpawnActorAbsolute (UClass *Class, FTransform const &Transform, const FActorSpawnParameters &SpawnParameters=FActorSpawnParameters()) |
| | Templated version of SpawnActorAbsolute that allows you to specify whole absolute Transform class type via parameter while the return type is a parent class of that type
|
| |
| template<class T > |
| T * | SpawnActorDeferred (UClass *Class, FTransform const &Transform, AActor *Owner=nullptr, APawn *Instigator=nullptr, ESpawnActorCollisionHandlingMethod CollisionHandlingOverride=ESpawnActorCollisionHandlingMethod::Undefined) |
| | Spawns given class and returns class T pointer, forcibly sets world transform (note this allows scale as well). 更多...
|
| |
|
ABrush * | SpawnBrush () |
| | Spawns a Brush Actor in the World
|
| |
| APlayerController * | SpawnPlayActor (class UPlayer *Player, ENetRole RemoteRole, const FURL &InURL, const TSharedPtr< const FUniqueNetId > &UniqueId, FString &Error, uint8 InNetPlayerIndex=0) |
| | Spawns a PlayerController and binds it to the passed in Player with the specified RemoteRole and options 更多...
|
| |
|
void | StartPhysicsSim () |
| | Begin physics simulation
|
| |
| bool | SweepMultiByChannel (TArray< struct FHitResult > &OutHits, const FVector &Start, const FVector &End, const FQuat &Rot, ECollisionChannel TraceChannel, const FCollisionShape &CollisionShape, const FCollisionQueryParams &Params=FCollisionQueryParams::DefaultQueryParam, const FCollisionResponseParams &ResponseParam=FCollisionResponseParams::DefaultResponseParam) const |
| | Sweep a shape against the world and return all initial overlaps using a specific channel (including blocking) if requested, then overlapping hits and then first blocking hit Results are sorted, so a blocking hit (if found) will be the last element of the array Only the single closest blocking result will be generated, no tests will be done after that 更多...
|
| |
| bool | SweepMultiByObjectType (TArray< struct FHitResult > &OutHits, const FVector &Start, const FVector &End, const FQuat &Rot, const FCollisionObjectQueryParams &ObjectQueryParams, const FCollisionShape &CollisionShape, const FCollisionQueryParams &Params=FCollisionQueryParams::DefaultQueryParam) const |
| | Sweep a shape against the world and return all initial overlaps using object types (including blocking) if requested, then overlapping hits and then first blocking hit Results are sorted, so a blocking hit (if found) will be the last element of the array Only the single closest blocking result will be generated, no tests will be done after that 更多...
|
| |
| bool | SweepMultiByProfile (TArray< FHitResult > &OutHits, const FVector &Start, const FVector &End, const FQuat &Rot, FName ProfileName, const FCollisionShape &CollisionShape, const FCollisionQueryParams &Params=FCollisionQueryParams::DefaultQueryParam) const |
| | Sweep a shape against the world and return all initial overlaps using a specific profile, then overlapping hits and then first blocking hit Results are sorted, so a blocking hit (if found) will be the last element of the array Only the single closest blocking result will be generated, no tests will be done after that 更多...
|
| |
| bool | SweepSingleByChannel (struct FHitResult &OutHit, const FVector &Start, const FVector &End, const FQuat &Rot, ECollisionChannel TraceChannel, const FCollisionShape &CollisionShape, const FCollisionQueryParams &Params=FCollisionQueryParams::DefaultQueryParam, const FCollisionResponseParams &ResponseParam=FCollisionResponseParams::DefaultResponseParam) const |
| | Sweep a shape against the world and return the first blocking hit using a specific channel 更多...
|
| |
| bool | SweepSingleByObjectType (struct FHitResult &OutHit, const FVector &Start, const FVector &End, const FQuat &Rot, const FCollisionObjectQueryParams &ObjectQueryParams, const FCollisionShape &CollisionShape, const FCollisionQueryParams &Params=FCollisionQueryParams::DefaultQueryParam) const |
| | Sweep a shape against the world and return the first blocking hit using object types 更多...
|
| |
| bool | SweepSingleByProfile (struct FHitResult &OutHit, const FVector &Start, const FVector &End, const FQuat &Rot, FName ProfileName, const FCollisionShape &CollisionShape, const FCollisionQueryParams &Params=FCollisionQueryParams::DefaultQueryParam) const |
| | Sweep a shape against the world and return the first blocking hit using a specific profile 更多...
|
| |
| bool | SweepTestByChannel (const FVector &Start, const FVector &End, const FQuat &Rot, ECollisionChannel TraceChannel, const FCollisionShape &CollisionShape, const FCollisionQueryParams &Params=FCollisionQueryParams::DefaultQueryParam, const FCollisionResponseParams &ResponseParam=FCollisionResponseParams::DefaultResponseParam) const |
| | Sweep a shape against the world using a specific channel and return if a blocking hit is found. 更多...
|
| |
| bool | SweepTestByObjectType (const FVector &Start, const FVector &End, const FQuat &Rot, const FCollisionObjectQueryParams &ObjectQueryParams, const FCollisionShape &CollisionShape, const FCollisionQueryParams &Params=FCollisionQueryParams::DefaultQueryParam) const |
| | Sweep a shape against the world using object types and return if a blocking hit is found. 更多...
|
| |
| bool | SweepTestByProfile (const FVector &Start, const FVector &End, const FQuat &Rot, FName ProfileName, const FCollisionShape &CollisionShape, const FCollisionQueryParams &Params) const |
| | Sweep a shape against the world using a specific profile and return if a blocking hit is found. 更多...
|
| |
| void | Tick (ELevelTick TickType, float DeltaSeconds) |
| | Update the level after a variable amount of time, DeltaSeconds, has passed. 更多...
|
| |
|
void | TickNetClient (float DeltaSeconds) |
| | Do per frame tick behaviors related to the network driver
|
| |
|
float | TimeSince (float Time) const |
| | Helper for getting the time since a certain time.
|
| |
| void | TransferBlueprintDebugReferences (UWorld *NewWorld) |
| | Transfers the set of Kismet / Blueprint objects being debugged to the new world that are not already present, and updates blueprints accordingly 更多...
|
| |
|
void | TriggerStreamingDataRebuild () |
| | Triggers a call to ULevel::BuildStreamingData(this,NULL,NULL) within a few seconds.
|
| |
|
void | UpdateAllSkyCaptures () |
| | Purges all sky capture cached derived data and forces a re-render of captured scene data.
|
| |
| virtual void | UpdateConstraintActors () |
| | Updates all physics constraint actor joint locations. 更多...
|
| |
| bool | UpdateCullDistanceVolumes (AActor *ActorToUpdate=nullptr, UPrimitiveComponent *ComponentToUpdate=nullptr) |
| | Updates cull distance volumes for a specified component or a specified actor or all actors 更多...
|
| |
|
void | UpdateLevelStreaming () |
| | Updates sub-levels (load/unload/show/hide) using streaming levels current state
|
| |
|
void | UpdateParameterCollectionInstances (bool bUpdateInstanceUniformBuffers, bool bRecreateUniformBuffer) |
| | Updates this world's scene with the list of instances, and optionally updates each instance's uniform buffer.
|
| |
|
void | UpdateStreamingLevelPriority (ULevelStreaming *StreamingLevel) |
| | Inform the world that the streaming level has had its priority change and may need to be resorted if under consideration.
|
| |
|
void | UpdateStreamingLevelShouldBeConsidered (ULevelStreaming *StreamingLevelToConsider) |
| | Inform the world that a streaming level has had a potentially state changing modification made to it so that it needs to be in the StreamingLevelsToConsider list.
|
| |
| void | UpdateWorldComponents (bool bRerunConstructionScripts, bool bCurrentLevelOnly, FRegisterComponentContext *Context=nullptr) |
| | Updates world components like e.g. 更多...
|
| |
|
bool | UsesGameHiddenFlags () const |
| | Returns true if this world should look at game hidden flags instead of editor hidden flags for the purposes of rendering
|
| |
|
| UWorld (const FObjectInitializer &ObjectInitializer=FObjectInitializer::Get()) |
| | UWorld default constructor
|
| |
|
void | WelcomePlayer (UNetConnection *Connection) |
| | Welcome a new player joining this server.
|
| |
|
void | AbortInsideMemberFunction () const |
| | Abort with a member function call at the top of the callstack, helping to ensure that most platforms will stuff this object's memory into the resulting minidump.
|
| |
| virtual bool | AreNativePropertiesIdenticalTo (UObject *Other) const |
| | Returns whether native properties are identical to the one of the passed in component. 更多...
|
| |
| virtual void | BeginDestroy () |
| | Called before destroying the object. 更多...
|
| |
| virtual void | BuildSubobjectMapping (UObject *OtherObject, TMap< UObject *, UObject * > &ObjectMapping) const |
| | Given OtherObject (which will be the same type as 'this'), recursively find any matching sub-objects from 'this' that also exist within OtherObject, and add the mappings to ObjectMapping. 更多...
|
| |
| void | CallAddReferencedObjects (FReferenceCollector &Collector) |
| | Helper function to call AddReferencedObjects for this object's class. 更多...
|
| |
|
void | CallFunction (FFrame &Stack, RESULT_DECL, UFunction *Function) |
| | Internal VM method for executing a function
|
| |
|
bool | CallFunctionByNameWithArguments (const TCHAR *Cmd, FOutputDevice &Ar, UObject *Executor, bool bForceCallWithNonExec=false) |
| | Handle calling a function by name when executed from the console or a command line
|
| |
| virtual bool | CallRemoteFunction (UFunction *Function, void *Parms, struct FOutParmRec *OutParms, FFrame *Stack) |
| | Call the actor's function remotely 更多...
|
| |
| bool | CheckDefaultSubobjects (bool bForceCheck=false) const |
| | Checks default sub-object assumptions. 更多...
|
| |
| void | CollectDefaultSubobjects (TArray< UObject * > &OutDefaultSubobjects, bool bIncludeNestedSubobjects=false) const |
| | Uses the TArchiveObjectReferenceCollector to build a list of all components referenced by this object which have this object as the outer 更多...
|
| |
| bool | ConditionalBeginDestroy () |
| | Called before destroying the object. 更多...
|
| |
|
bool | ConditionalFinishDestroy () |
| | Called when an object is actually destroyed, memory should never be accessed again
|
| |
|
void | ConditionalPostLoad () |
| | PostLoad if needed.
|
| |
| void | ConditionalPostLoadSubobjects (struct FObjectInstancingGraph *OuterInstanceGraph=NULL) |
| | Instances subobjects and components for objects being loaded from disk, if necessary. 更多...
|
| |
|
| DECLARE_FUNCTION (execBreakpoint) |
| | Breakpoint; only observed in the editor; executing it at any other time is a NOP
|
| |
|
| DECLARE_FUNCTION (execInstrumentation) |
| | Instrumentation event for profiling; only observed in the builds with blueprint instrumentation
|
| |
| | DECLARE_FUNCTION (execPopExecutionFlow) |
| | Pops a code offset from the execution flow stack and starts execution there. 更多...
|
| |
| | DECLARE_FUNCTION (execPopExecutionFlowIfNot) |
| | Pops a code offset from the execution flow stack and starts execution there, if a condition is not true. 更多...
|
| |
| | DECLARE_FUNCTION (execPushExecutionFlow) |
| | Push a code offset onto the execution flow stack for future execution. 更多...
|
| |
|
| DECLARE_FUNCTION (execReturnNothing) |
| | failsafe for functions that return a value - returns the zero value for a property and logs that control reached the end of a non-void function
|
| |
|
| DECLARE_FUNCTION (execTracepoint) |
| | Tracepoint; only observed in the editor; executing it at any other time is a NOP
|
| |
| | DECLARE_FUNCTION (ProcessInternal) |
| | Internal function call processing. 更多...
|
| |
|
void | DestroyNonNativeProperties () |
| | Destroy properties that won't be destroyed by the native destructor
|
| |
|
void | ExecuteUbergraph (int32 EntryPoint) |
| | Execute the ubergraph from a specific entry point
|
| |
| virtual void | ExportCustomProperties (FOutputDevice &Out, uint32 Indent) |
| | Exports the property values for the specified object as text to the output device. 更多...
|
| |
|
UFunction * | FindFunction (FName InName) const |
| | Returns a UFunction with the specified name, wrapper for UClass::FindFunctionByName()
|
| |
|
UFunction * | FindFunctionChecked (FName InName) const |
| | Version of FindFunction() that will assert if the function was not found
|
| |
| virtual void | FinishDestroy () |
| | Called to finish destroying the object. 更多...
|
| |
| UObject * | GetArchetype () const |
| | Return the template this object is based on. 更多...
|
| |
| void | GetArchetypeInstances (TArray< UObject * > &Instances) |
| | Builds a list of objects which have this object in their archetype chain. 更多...
|
| |
| virtual void | GetAssetRegistryTags (TArray< FAssetRegistryTag > &OutTags) const |
| | Gathers a list of asset registry searchable tags which are name/value pairs with some type information This only needs to be implemented for asset objects 更多...
|
| |
|
virtual const TCHAR * | GetConfigOverridePlatform () const |
| | Returns the override config hierarchy platform (if NDAd platforms need defaults to not be in Base*.ini but still want editor to load them)
|
| |
|
FString | GetDefaultConfigFilename () const |
| | Get the default config filename for the specified UObject
|
| |
|
virtual FString | GetDesc () |
| | Return a one line description of an object for viewing in the thumbnail view of the generic browser
|
| |
| FString | GetDetailedInfo () const |
| | This will return detail info about this specific object. 更多...
|
| |
|
virtual FName | GetExporterName (void) |
| | Returns the name of the exporter factory used to export this object Used when multiple factories have the same extension
|
| |
| virtual int32 | GetFunctionCallspace (UFunction *Function, FFrame *Stack) |
| | Return the space this function should be called. 更多...
|
| |
|
FString | GetGlobalUserConfigFilename () const |
| | Get the global user override config filename for the specified UObject
|
| |
|
virtual void | GetLifetimeReplicatedProps (TArray< class FLifetimeProperty > &OutLifetimeProps) const |
| | Returns properties that are replicated for the lifetime of the actor channel
|
| |
| virtual bool | GetNativePropertyValues (TMap< FString, FString > &out_PropertyValues, uint32 ExportFlags=0) const |
| | Callback for retrieving a textual representation of natively serialized properties. 更多...
|
| |
|
virtual int32 | GetNetPushIdDynamic () const |
| | Should only ever be used by internal systems.
|
| |
| virtual void | GetPreloadDependencies (TArray< UObject * > &OutDeps) |
| | Called during cooking. 更多...
|
| |
| virtual void | GetPrestreamPackages (TArray< UObject * > &OutPrestream) |
| | Called during cooking. 更多...
|
| |
| virtual FPrimaryAssetId | GetPrimaryAssetId () const |
| | Returns an Type:Name pair representing the PrimaryAssetId for this object. 更多...
|
| |
|
FString | GetProjectUserConfigFilename () const |
| | Get the project user override config filename for the specified UObject
|
| |
| SIZE_T | GetResourceSizeBytes (EResourceSizeMode::Type Mode) |
| | Get the size of the object/resource for use in memory tools or to display to artists/LDs in the Editor This is the simple version which just returns the total number of bytes used by this object. 更多...
|
| |
| virtual void | GetResourceSizeEx (FResourceSizeEx &CumulativeResourceSize) |
| | Get the size of the object/resource for use in memory tools or to display to artists/LDs in the Editor This is the extended version which separates up the used memory into different memory regions (the actual definition of which may be platform specific). 更多...
|
| |
| virtual FRestoreForUObjectOverwrite * | GetRestoreForUObjectOverwrite () |
| | Save information for StaticAllocateObject in the case of overwriting an existing object. 更多...
|
| |
|
virtual UScriptStruct * | GetSparseClassDataStruct () const |
| | Return the UStruct corresponding to the sidecar data structure that stores data that is constant for all instances of this class.
|
| |
|
virtual void | GetSubobjectsWithStableNamesForNetworking (TArray< UObject * > &ObjList) |
| | Returns a list of sub-objects that have stable names for networking
|
| |
|
template<class T > |
| FORCEINLINE bool | Implements () const |
| | Returns true if this object implements the interface T, false otherwise.
|
| |
|
template<class T > |
| bool | Implements () const |
| | Returns true if this object implements the interface T, false otherwise.
|
| |
| virtual void | ImportCustomProperties (const TCHAR *SourceText, FFeedbackContext *Warn) |
| | Exports the property values for the specified object as text to the output device. 更多...
|
| |
|
void | InstanceSubobjectTemplates (struct FObjectInstancingGraph *InstanceGraph=NULL) |
| | Wrapper for calling UClass::InstanceSubobjectTemplates() for this object.
|
| |
|
virtual bool | IsAsset () const |
| | Returns true if this object is considered an asset.
|
| |
|
bool | IsBasedOnArchetype (const UObject *const SomeObject) const |
| | Determine if this object has SomeObject in its archetype chain.
|
| |
| virtual bool | IsDestructionThreadSafe () const |
| | Called during garbage collection to determine if an object can have its destructor called on a worker thread. 更多...
|
| |
| virtual bool | IsEditorOnly () const |
| | Called during saving to determine if the object is forced to be editor only or not 更多...
|
| |
|
virtual bool | IsFullNameStableForNetworking () const |
| | IsFullNameStableForNetworking means an object can be referred to its full path name over the network
|
| |
|
bool | IsInBlueprint () const |
| | Returns whether this object is contained in or part of a blueprint object
|
| |
|
virtual bool | IsLocalizedResource () const |
| | Returns true if this object is considered a localized resource.
|
| |
|
virtual bool | IsNameStableForNetworking () const |
| | IsNameStableForNetworking means an object can be referred to its path name (relative to outer) over the network
|
| |
| virtual bool | IsPostLoadThreadSafe () const |
| | Called during async load to determine if PostLoad can be called on the loading thread. 更多...
|
| |
| virtual bool | IsReadyForAsyncPostLoad () const |
| | Called before calling PostLoad() in FAsyncPackage::PostLoadObjects(). 更多...
|
| |
| virtual bool | IsReadyForFinishDestroy () |
| | Called to check if the object is ready for FinishDestroy. 更多...
|
| |
|
virtual bool | IsSafeForRootSet () const |
| | Returns true if this object is safe to add to the root set.
|
| |
| bool | IsSelected () const |
| | Test the selection state of a UObject 更多...
|
| |
|
virtual bool | IsSupportedForNetworking () const |
| | IsSupportedForNetworking means an object can be referenced over the network
|
| |
| void | LoadConfig (UClass *ConfigClass=NULL, const TCHAR *Filename=NULL, uint32 PropagationFlags=UE4::LCPF_None, class FProperty *PropertyToLoad=NULL) |
| | Imports property values from an .ini file. 更多...
|
| |
|
virtual void | MarkAsEditorOnlySubobject () |
| | Called during subobject creation to mark this component as editor only, which causes it to get stripped in packaged builds
|
| |
| FORCEINLINE bool | Modify (bool bAlwaysMarkDirty=true) |
| | Note that the object will be modified. 更多...
|
| |
| virtual bool | NeedsLoadForClient () const |
| | Called during saving to determine the load flags to save with the object. 更多...
|
| |
| virtual bool | NeedsLoadForEditorGame () const |
| | Called during saving to include this object in client/servers running in editor builds, even if they wouldn't normally be. 更多...
|
| |
| virtual bool | NeedsLoadForServer () const |
| | Called during saving to determine the load flags to save with the object. 更多...
|
| |
| virtual bool | NeedsLoadForTargetPlatform (const class ITargetPlatform *TargetPlatform) const |
| | Called during saving to determine the load flags to save with the object. 更多...
|
| |
| void | OutputReferencers (FOutputDevice &Ar, FReferencerInformationList *Referencers=NULL) |
| | Outputs a string to an arbitrary output device, describing the list of objects which are holding references to this one. 更多...
|
| |
| virtual void | OverridePerObjectConfigSection (FString &SectionName) |
| | Allows PerObjectConfig classes, to override the ini section name used for the PerObjectConfig object. 更多...
|
| |
|
void | ParseParms (const TCHAR *Parms) |
| | Import an object from a file.
|
| |
| virtual void | PostCDOContruct () |
| | Called after the C++ constructor has run on the CDO for a class. 更多...
|
| |
| virtual void | PostDuplicate (bool bDuplicateForPIE) |
| | Called after duplication & serialization and before PostLoad. 更多...
|
| |
|
virtual void | PostEditImport () |
| | Called after importing property values for this object (paste, duplicate or .t3d import) Allow the object to perform any cleanup for properties which shouldn't be duplicated or are unsupported by the script serialization
|
| |
| virtual void | PostInitProperties () |
| | Called after the C++ constructor and after the properties have been initialized, including those loaded from config. 更多...
|
| |
| virtual void | PostInterpChange (FProperty *PropertyThatChanged) |
| | This is called when property is modified by InterpPropertyTracks 更多...
|
| |
| virtual void | PostLoad () |
| | Do any object-specific cleanup required immediately after loading an object. 更多...
|
| |
| virtual void | PostLoadSubobjects (FObjectInstancingGraph *OuterInstanceGraph) |
| | Instances components for objects being loaded from disk, if necessary. 更多...
|
| |
|
virtual void | PostNetReceive () |
| | Called right after receiving a bunch
|
| |
|
virtual void | PostReloadConfig (class FProperty *PropertyThatWasLoaded) |
| | Called from ReloadConfig after the object has reloaded its configuration data.
|
| |
|
virtual void | PostRename (UObject *OldOuter, const FName OldName) |
| | Called at the end of Rename(), but only if the rename was actually carried out
|
| |
|
virtual void | PostRepNotifies () |
| | Called right after calling all OnRep notifies (called even when there are no notifies)
|
| |
| virtual void | PostSaveRoot (bool bCleanupIsRequired) |
| | Called from within SavePackage on the passed in base/root object. 更多...
|
| |
|
virtual void | PreDestroyFromReplication () |
| | Called right before being marked for destruction due to network replication
|
| |
| virtual void | PreDuplicate (FObjectDuplicationParameters &DupParams) |
| | Called before duplication. 更多...
|
| |
|
virtual void | PreNetReceive () |
| | Called right before receiving a bunch
|
| |
| virtual void | PreSave (const class ITargetPlatform *TargetPlatform) |
| | Presave function. 更多...
|
| |
| virtual bool | PreSaveRoot (const TCHAR *Filename) |
| | Called from within SavePackage on the passed in base/root object. 更多...
|
| |
|
virtual bool | ProcessConsoleExec (const TCHAR *Cmd, FOutputDevice &Ar, UObject *Executor) |
| | This function handles a console exec sent to the object; it is virtual so 'nexus' objects like a player controller can reroute the command to several different objects.
|
| |
|
virtual void | ProcessEvent (UFunction *Function, void *Parms) |
| | Called by VM to execute a UFunction with a filled in UStruct of parameters
|
| |
| virtual UClass * | RegenerateClass (UClass *ClassToRegenerate, UObject *PreviousCDO) |
| | Called on the target when a class is loaded with ClassGeneratedBy is loaded. 更多...
|
| |
| void | ReinitializeProperties (UObject *SourceObject=NULL, struct FObjectInstancingGraph *InstanceGraph=NULL) |
| | Wrapper function for InitProperties() which handles safely tearing down this object before re-initializing it from the specified source object. 更多...
|
| |
| void | ReloadConfig (UClass *ConfigClass=NULL, const TCHAR *Filename=NULL, uint32 PropagationFlags=UE4::LCPF_None, class FProperty *PropertyToLoad=NULL) |
| | Wrapper method for LoadConfig that is used when reloading the config data for objects at runtime which have already loaded their config data at least once. 更多...
|
| |
| virtual bool | Rename (const TCHAR *NewName=nullptr, UObject *NewOuter=nullptr, ERenameFlags Flags=REN_None) |
| | Rename this object to a unique name, or change its outer. 更多...
|
| |
|
void | RetrieveReferencers (TArray< FReferencerInformation > *OutInternalReferencers, TArray< FReferencerInformation > *OutExternalReferencers) |
| | Called by OutputReferencers() to get the internal list of referencers to write
|
| |
| void | SaveConfig (uint64 Flags=CPF_Config, const TCHAR *Filename=NULL, FConfigCacheIni *Config=GConfig, bool bAllowCopyToDefaultObject=true) |
| | Save configuration out to ini files 更多...
|
| |
| virtual void | Serialize (FArchive &Ar) |
| | Handles reading, writing, and reference collecting using FArchive. 更多...
|
| |
| void | SerializeScriptProperties (FArchive &Ar) const |
| | Serializes the script property data located at Data. 更多...
|
| |
| void | SerializeScriptProperties (FStructuredArchive::FSlot Slot) const |
| | Serializes the script property data located at Data. 更多...
|
| |
| void | SetLinker (FLinkerLoad *LinkerLoad, int32 LinkerIndex, bool bShouldDetachExisting=true) |
| | Changes the linker and linker index to the passed in one. 更多...
|
| |
|
virtual void | ShutdownAfterError () |
| | After a critical error, perform any mission-critical cleanup, such as restoring the video mode orreleasing hardware resources.
|
| |
| void | SkipFunction (FFrame &Stack, RESULT_DECL, UFunction *Function) |
| | advances Stack's code past the parameters to the given Function and if the function has a return value, copies the zero value for that property to the memory for the return value 更多...
|
| |
| virtual void | TagSubobjects (EObjectFlags NewFlags) |
| | Tags objects that are part of the same asset with the specified object flag, used for GC checking 更多...
|
| |
|
void | UpdateDefaultConfigFile (const FString &SpecificFileLocation="") |
| | Saves just the section(s) for this class into the default ini file for the class (with just the changes from base)
|
| |
|
void | UpdateGlobalUserConfigFile () |
| | Saves just the section(s) for this class into the global user ini file for the class (with just the changes from base)
|
| |
|
void | UpdateProjectUserConfigFile () |
| | Saves just the section(s) for this class into the project user ini file for the class (with just the changes from base)
|
| |
|
void | UpdateSinglePropertyInConfigFile (const FProperty *InProperty, const FString &InConfigIniName) |
| | Saves just the property into the global user ini file for the class (with just the changes from base)
|
| |
| void | AddToCluster (UObjectBaseUtility *ClusterRootOrObjectFromCluster, bool bAddAsMutableObject=false) |
| | Adds this objects to a GC cluster that already exists 更多...
|
| |
| FORCEINLINE void | AddToRoot () |
| | Add an object to the root set. 更多...
|
| |
|
FORCEINLINE void | AppendName (FString &ResultString) const |
| | Optimized version of GetName that appends to an existing string
|
| |
| FORCEINLINE bool | AtomicallyClearInternalFlags (EInternalObjectFlags FlagsToClear) const |
| | Atomically clears passed in internal flags. 更多...
|
| |
| virtual bool | CanBeClusterRoot () const |
| | Called after load to determine if the object can be a cluster root 更多...
|
| |
| virtual bool | CanBeInCluster () const |
| | Called during cluster construction if the object can be added to a cluster 更多...
|
| |
|
FORCEINLINE void | ClearFlags (EObjectFlags NewFlags) |
| | Clears subset of flags for a specific object
|
| |
| FORCEINLINE void | ClearInternalFlags (EInternalObjectFlags FlagsToClear) const |
| | Clears passed in internal flags. 更多...
|
| |
|
FORCEINLINE void | ClearPendingKill () |
| | Unmarks this object as PendingKill.
|
| |
|
virtual void | CreateCluster () |
| | Called after PostLoad to create UObject cluster
|
| |
|
void | DetachExternalPackage () |
| | Utility function to temporarily detach the object external package, if any GetPackage will report the outer's package once detached
|
| |
| const UClass * | FindNearestCommonBaseClass (const UClass *TestClass) const |
| | Finds the most-derived class which is a parent of both TestClass and this object's class. 更多...
|
| |
| FORCEINLINE EObjectMark | GetAllMarks () const |
| | Returns all of the object marks on a specific object 更多...
|
| |
| FString | GetFullGroupName (bool bStartWithOuter) const |
| | Walks up the chain of packages until it reaches the top level, which it ignores. 更多...
|
| |
|
void | GetFullName (const UObject *StopOuter, FString &ResultString, EObjectFullNameFlags Flags=EObjectFullNameFlags::None) const |
| | Version of GetFullName() that eliminates unnecessary copies.
|
| |
| FString | GetFullName (const UObject *StopOuter=NULL, EObjectFullNameFlags Flags=EObjectFullNameFlags::None) const |
| | Returns the fully qualified pathname for this object as well as the name of the class, in the format: 'ClassName Outermost[.Outer].Name'. 更多...
|
| |
| void * | GetInterfaceAddress (UClass *InterfaceClass) |
| | Returns a pointer to this object safely converted to a pointer of the specified interface class. 更多...
|
| |
| FORCEINLINE EInternalObjectFlags | GetInternalFlags () const |
| | Gets internal flags. 更多...
|
| |
| class FLinkerLoad * | GetLinker () const |
| | Returns the linker for this object. 更多...
|
| |
| int32 | GetLinkerCustomVersion (FGuid CustomVersionKey) const |
| | Returns the custom version of the linker for this object corresponding to the given custom version key. 更多...
|
| |
| int32 | GetLinkerIndex () const |
| | Returns this object's LinkerIndex. 更多...
|
| |
| int32 | GetLinkerLicenseeUE4Version () const |
| | Returns the licensee version of the linker for this object. 更多...
|
| |
| int32 | GetLinkerUE4Version () const |
| | Returns the UE4 version of the linker for this object. 更多...
|
| |
| FORCEINLINE EObjectFlags | GetMaskedFlags (EObjectFlags Mask=RF_AllFlags) const |
| | Returns object flags that are both in the mask and set on the object. 更多...
|
| |
| FORCEINLINE FString | GetName () const |
| | Returns the name of this object (with no path information) 更多...
|
| |
|
FORCEINLINE void | GetName (FString &ResultString) const |
| | Optimized version of GetName that overwrites an existing string
|
| |
| void * | GetNativeInterfaceAddress (UClass *InterfaceClass) |
| | Returns a pointer to the I* native interface object that this object implements. 更多...
|
| |
| const void * | GetNativeInterfaceAddress (UClass *InterfaceClass) const |
| | Returns a pointer to the const I* native interface object that this object implements. 更多...
|
| |
| UPackage * | GetOutermost () const |
| | Legacy function, has the same behavior as GetPackage use GetPackage instead. 更多...
|
| |
| UObject * | GetOutermostObject () const |
| | Walks up the list of outers until it finds the top-level one that isn't a package. 更多...
|
| |
| UPackage * | GetPackage () const |
| | Walks up the list of outers until it finds a package directly associated with the object. 更多...
|
| |
|
void | GetPathName (const UObject *StopOuter, FString &ResultString) const |
| | Versions of GetPathName() that eliminates unnecessary copies and allocations.
|
| |
| FString | GetPathName (const UObject *StopOuter=NULL) const |
| | Returns the fully qualified pathname for this object, in the format: 'Outermost[.Outer].Name' 更多...
|
| |
| FORCEINLINE TStatId | GetStatID (bool bForDeferredUse=false) const |
| | Returns the stat ID of the object, used for profiling. 更多...
|
| |
| template<typename T > |
| T * | GetTypedOuter () const |
| | Traverses the outer chain searching for the next object of a certain type. 更多...
|
| |
| UObject * | GetTypedOuter (UClass *Target) const |
| | Traverses the outer chain searching for the next object of a certain type. 更多...
|
| |
| FORCEINLINE bool | HasAllFlags (EObjectFlags FlagsToCheck) const |
| | Used to safely check whether all of the passed in flags are set. 更多...
|
| |
| FORCEINLINE bool | HasAllMarks (EObjectMark Marks) const |
| | Tests an object for having ALL of a set of marks 更多...
|
| |
| FORCEINLINE bool | HasAnyFlags (EObjectFlags FlagsToCheck) const |
| | Used to safely check whether any of the passed in flags are set. 更多...
|
| |
| FORCEINLINE bool | HasAnyInternalFlags (EInternalObjectFlags FlagsToCheck) const |
| | Used to safely check whether any of the passed in internal flags are set. 更多...
|
| |
| FORCEINLINE bool | HasAnyMarks (EObjectMark Marks) const |
| | Tests an object for having ANY of a set of marks 更多...
|
| |
|
template<class T > |
| bool | IsA () const |
| | Returns true if this object is of the template type.
|
| |
|
template<typename OtherClassType > |
| FORCEINLINE bool | IsA (OtherClassType SomeBase) const |
| | Returns true if this object is of the specified type.
|
| |
| bool | IsDefaultSubobject () const |
| | Returns whether this component was instanced from a component/subobject template, or if it is a component/subobject template. 更多...
|
| |
| bool | IsIn (const UObject *SomeOuter) const |
| | Return the dispatch to IsInOuter or IsInPackage depending on SomeOuter's class. 更多...
|
| |
| bool | IsIn (const UPackage *SomePackage) const |
| | Overload to determine if an object is in the specified package which can now be different than its outer chain. 更多...
|
| |
| bool | IsInA (const UClass *SomeBaseClass) const |
| | Find out if this object is inside (has an outer) that is of the specified class 更多...
|
| |
|
bool | IsInOuter (const UObject *SomeOuter) const |
| | Returns true if the object is contained in the specified outer.
|
| |
|
bool | IsInPackage (const UPackage *SomePackage) const |
| | Returns true if the object is contained in the specified package.
|
| |
|
FORCEINLINE bool | IsNative () const |
| | Checks if the object is native.
|
| |
|
FORCEINLINE bool | IsPendingKill () const |
| | Checks the PendingKill flag to see if it is dead but memory still valid
|
| |
|
FORCEINLINE bool | IsPendingKillOrUnreachable () const |
| | Checks if the object is pending kill or unreachable.
|
| |
| FORCEINLINE bool | IsRooted () const |
| | Returns true if this object is explicitly rooted 更多...
|
| |
| bool | IsTemplate (EObjectFlags TemplateTypes=RF_ArchetypeObject|RF_ClassDefaultObject) const |
| | Determines whether this object is a template object 更多...
|
| |
|
FORCEINLINE bool | IsUnreachable () const |
| | Checks if the object is unreachable.
|
| |
| FORCEINLINE void | Mark (EObjectMark Marks) const |
| | Adds marks to an object 更多...
|
| |
| bool | MarkPackageDirty () const |
| | Finds the outermost package and marks it dirty. 更多...
|
| |
|
FORCEINLINE void | MarkPendingKill () |
| | Marks this object as RF_PendingKill.
|
| |
|
virtual void | OnClusterMarkedAsPendingKill () |
| | Called during Garbage Collection to perform additional cleanup when the cluster is about to be destroyed due to PendingKill flag being set on it.
|
| |
| FORCEINLINE bool | operator< (const UObjectBaseUtility &Other) const |
| | Overloaded < operator. 更多...
|
| |
|
void | ReattachExternalPackage () |
| | Utility function to reattach the object external package, if any GetPackage will report the object external package if set after this call
|
| |
|
FORCEINLINE void | RemoveFromRoot () |
| | Remove an object from the root set.
|
| |
| bool | RootPackageHasAnyFlags (uint32 CheckFlagMask) const |
| | Checks whether this object's top-most package has any of the specified flags 更多...
|
| |
|
FORCEINLINE void | SetFlags (EObjectFlags NewFlags) |
| | Modifies object flags for a specific object
|
| |
| FORCEINLINE void | SetInternalFlags (EInternalObjectFlags FlagsToSet) const |
| | Clears passed in internal flags. 更多...
|
| |
| FORCEINLINE bool | ThisThreadAtomicallyClearedRFUnreachable () |
| | Atomically clear the unreachable flag 更多...
|
| |
| FORCEINLINE void | UnMark (EObjectMark Marks) const |
| | Removes marks from and object 更多...
|
| |
| FORCENOINLINE void | AtomicallyClearFlags (EObjectFlags FlagsToClear) |
| | Atomically clears the specified flags. 更多...
|
| |
| FORCENOINLINE void | AtomicallySetFlags (EObjectFlags FlagsToAdd) |
| | Atomically adds the specified flags. 更多...
|
| |
|
FORCEINLINE UClass * | GetClass () const |
| | Returns the UClass that defines the fields of this object
|
| |
|
UPackage * | GetExternalPackage () const |
| | Returns the external UPackage associated with this object, if any
|
| |
|
UPackage * | GetExternalPackageInternal () const |
| | Returns the external UPackage for this object, if any, NOT THREAD SAFE, used by internal gc reference collecting.
|
| |
| FORCEINLINE EObjectFlags | GetFlags () const |
| | Retrieve the object flags directly 更多...
|
| |
|
FORCEINLINE FName | GetFName () const |
| | Returns the logical name of this object
|
| |
|
FORCEINLINE UObject * | GetOuter () const |
| | Returns the UObject this object resides in
|
| |
| FORCEINLINE uint32 | GetUniqueID () const |
| | Returns the unique ID of the object...these are reused so it is only unique while the object is alive. 更多...
|
| |
| bool | IsValidLowLevel () const |
| | Checks to see if the object appears to be valid 更多...
|
| |
| bool | IsValidLowLevelFast (bool bRecursive=true) const |
| | Faster version of IsValidLowLevel. 更多...
|
| |
|
void | SetExternalPackage (UPackage *InPackage) |
| | Associate an external package directly to this object.
|
| |
| | UObjectBase (UClass *InClass, EObjectFlags InFlags, EInternalObjectFlags InInternalFlags, UObject *InOuter, FName InName) |
| | Constructor used by StaticAllocateObject 更多...
|
| |
|
virtual | ~UObjectBase () |
| | Final destructor, removes the object from the object array, and indirectly, from any annotations
|
| |
| virtual void | NotifyAcceptedConnection (class UNetConnection *Connection) |
| | Notification that a new connection has been created/established as a result of a remote request, previously approved by NotifyAcceptingConnection 更多...
|
| |
| virtual bool | NotifyAcceptingChannel (class UChannel *Channel) |
| | Notification that a new channel is being created/opened as a result of a remote request (Actor creation, etc) 更多...
|
| |
| virtual EAcceptConnection::Type | NotifyAcceptingConnection () |
| | Notification that an incoming connection is pending, giving the interface a chance to reject the request 更多...
|
| |
| virtual void | NotifyControlMessage (UNetConnection *Connection, uint8 MessageType, class FInBunch &Bunch) |
| | Handler for messages sent through a remote connection's control channel not required to handle the message, but if it reads any data from Bunch, it MUST read the ENTIRE data stream for that message (i.e. 更多...
|
| |