G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
FSoftComponentReference Struct Reference

Struct that allows for different ways to reference a component using TSoftObjectPtr. If just an Actor is specified, will return RootComponent of that Actor. More...

Public Member Functions

Functions
FSoftComponentReference & opAssign (FSoftComponentReference Other)
Public Member Functions inherited from FBaseComponentReference
FBaseComponentReference & opAssign (FBaseComponentReference Other)

Public Attributes

Component
FName ComponentProperty
 Name of component to use. If this is not specified the reference refers to the root component.
FString PathToComponent
 Path to the component from its owner actor.
TSoftObjectPtr< AActor > OtherActor
 Soft Pointer to a different Actor that owns the Component. If this is not provided the reference refers to a component on this / the same actor.
Public Attributes inherited from FBaseComponentReference
FString PathToComponent
 Path to the component from its owner actor.
FName ComponentProperty
 Name of component to use. If this is not specified the reference refers to the root component.

Detailed Description

Struct that allows for different ways to reference a component using TSoftObjectPtr. If just an Actor is specified, will return RootComponent of that Actor.

Member Function Documentation

◆ opAssign()

Member Data Documentation

◆ ComponentProperty

FName ComponentProperty

Name of component to use. If this is not specified the reference refers to the root component.

◆ OtherActor

TSoftObjectPtr<AActor> OtherActor

Soft Pointer to a different Actor that owns the Component. If this is not provided the reference refers to a component on this / the same actor.

◆ PathToComponent

FString PathToComponent

Path to the component from its owner actor.