G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
LightWeightInstance Namespace Reference

Functions

Light Weight Instance
FActorInstanceHandle CreateNewLightWeightInstance (UClass ActorClass, FTransform Transform, UDataLayerInstance Layer, UWorld World)
 Returns a handle to a new light weight instance that represents an object of type ActorClass.
FActorInstanceHandle ConvertActorToLightWeightInstance (AActor Actor)
 Returns a handle to the light weight representation and destroys Actor if successful; Returns a handle to Actor otherwise.

Function Documentation

◆ ConvertActorToLightWeightInstance()

FActorInstanceHandle ConvertActorToLightWeightInstance ( AActor Actor)

Returns a handle to the light weight representation and destroys Actor if successful; Returns a handle to Actor otherwise.

◆ CreateNewLightWeightInstance()

FActorInstanceHandle CreateNewLightWeightInstance ( UClass ActorClass,
FTransform Transform,
UDataLayerInstance Layer,
UWorld World )

Returns a handle to a new light weight instance that represents an object of type ActorClass.