Skip to content

Commit

Permalink
feat: UWorld class documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
igromanru authored and UE4SS committed Nov 26, 2024
1 parent b47690f commit 4d6a4ca
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/lua-api/classes/uworld.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# UWorld
## Inheritance
[RemoteObject](./remoteobject.md)

## Methods

### SpawnActor(UClass ActorClass, FVector Location, FRotator Rotation)
It's a self-implemented function that is automatically added to every UWorld object by UE4SS.
The function uses `UGameplayStatics:BeginDeferredActorSpawnFromClass` and `UGameplayStatics:FinishSpawningActor` to spawn an actor.
- **Return type:** `AActor`
- **Returns:** Spawned actor object or an invalid object.

0 comments on commit 4d6a4ca

Please sign in to comment.