G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
UTargetingSelectionTask_Trace Class Reference

@class UTargetingSelectionTask_Trace More...

Public Member Functions

Target Trace Selection
FRotator GetSweptTraceRotation (FTargetingRequestHandle TargetingHandle) const
 Native Event to get the swept trace rotation relative to trace direction (only called if TraceType = ETargetingTraceType::Capsule or TraceType = ETargetingTraceType::Box).
FVector GetSourceLocation (FTargetingRequestHandle TargetingHandle) const
 Native Event to get the source location for the Trace.
FVector GetSourceOffset (FTargetingRequestHandle TargetingHandle) const
 Native Event to get a source location offset for the Trace.
FVector GetSweptTraceBoxHalfExtents (FTargetingRequestHandle TargetingHandle) const
 Native Event to get the swept box trace half extents (only called if TraceType = ETargetingTraceType::Box).
float32 GetSweptTraceCapsuleHalfHeight (FTargetingRequestHandle TargetingHandle) const
 Native Event to get the swept trace capsule's half height (only called if TraceType = ETargetingTraceType::Capsule).
float32 GetSweptTraceRadius (FTargetingRequestHandle TargetingHandle) const
 Native Event to get the swept trace radius (only called if TraceType = ETargetingTraceType::Sphere or TraceType = ETargetingTraceType::Capsule).
void GetAdditionalActorsToIgnore (FTargetingRequestHandle TargetingHandle, TArray< AActor > &OutAdditionalActorsToIgnore) const
 Native Event to get additional actors the Trace should ignore.
FVector GetTraceDirection (FTargetingRequestHandle TargetingHandle) const
 Native Event to get the direction for the Trace.
float32 GetTraceLength (FTargetingRequestHandle TargetingHandle) const
 Native Event to get the length for the Trace.
Functions
void SetbIgnoreSourceActor (bool Value)
 Indicates the trace should ignore the source actor.
void SetbIgnoreInstigatorActor (bool Value)
 Indicates the trace should ignore the source actor.
void SetbComplexTrace (bool Value)
 Indicates the trace should perform a complex trace.
Public Member Functions inherited from UTargetingTask
UTargetingSubsystem GetTargetingSubsystem (FTargetingRequestHandle TargetingHandle) const
 Helper method to get the Targeting Subsystem in TargetingTask Blueprint Types.
Public Member Functions inherited from UObject
bool MarkPackageDirty () const
void RemoveFromRoot ()
bool GetIsRooted () const
bool IsTransient () const
bool Modify (bool bAlwaysMarkDirty=true)
void SetTransactional (bool bTransactional)
bool IsSupportedForNetworking () const
UClass GetClass () const
UObject GetOuter () const
UObject GetTypedOuter (TSubclassOf< UObject > Target) const
 Traverses the outer chain searching for the next object of a certain type.
UPackage GetOutermost () const
UPackage GetPackage () const
void AddToRoot ()
UWorld GetWorld () const
FName GetName () const
FString GetFullName (const UObject StopOuter=nullptr) const
FString GetPathName (const UObject StopOuter=nullptr) const
bool IsA (const UClass Class) const
 Returns true if this object is of the specified type, or a child of that type.
void SaveConfig ()
void LoadConfig ()
void ReloadConfig ()
void CopyScriptPropertiesFrom (const UObject OtherObject)
void opCast (?&Address) const
FString ToString () const

Static Public Member Functions

Static Functions
static UClass StaticClass ()
Static Public Member Functions inherited from UTargetingTask
static UClass StaticClass ()
Static Public Member Functions inherited from UObject
static UClass StaticClass ()

Public Attributes

Target Trace Selection | Collision Data
ETraceTypeQuery TraceChannel
 The trace channel to use.
FCollisionProfileName CollisionProfileName
 The collision profile name to use instead of trace channel (does not work for async traces).
ETargetingTraceType TraceType
 The trace type (i.e. shape) to use.
Target Trace Selection | Swept Data
FScalableFloat DefaultSweptTraceCapsuleHalfHeight
 The default swept trace radius used by GetSweptTraceRadius when the trace type is set to Capsule.
FScalableFloat DefaultSweptTraceBoxHalfExtentX
 The default swept extents used by GetSweptTraceExtents when the trace type is set to Box.
FScalableFloat DefaultSweptTraceRadius
 The default swept trace radius used by GetSweptTraceRadius when the trace type is set to Sphere or Capsule.
FScalableFloat DefaultSweptTraceBoxHalfExtentY
 The default swept extents used by GetSweptTraceBoxHalfExtents when the trace type is set to Box.
FScalableFloat DefaultSweptTraceBoxHalfExtentZ
 The default swept extents used by GetSweptTraceBoxHalfExtents when the trace type is set to Box.
FRotator DefaultSweptTraceRotation
 The default swept rotation (relative to the trace direction) used by GetSweptTraceRotation when the trace type is set to Capsule or Box.
Target Trace Selection | Trace Data
FVector DefaultSourceOffset
 The default source location offset used by GetSourceOffset.
FVector ExplicitTraceDirection
 An explicit trace direction to use (default uses pawn control rotation or actor forward vector in GetTraceDirection).
FScalableFloat DefaultTraceLength
 The default trace length to use if GetTraceLength is not overridden by a child.
Public Attributes inherited from UObject
const UClass Class
const UObject Outer
const UPackage Outermost
const UPackage Package
const UWorld World
const FName Name
const bool IsRooted

Detailed Description

@class UTargetingSelectionTask_Trace

Selection task that can perform a synchronous or asynchronous trace (line/sweep) to find all targets up to the first blocking hit (or its end point).

Member Function Documentation

◆ GetAdditionalActorsToIgnore()

void GetAdditionalActorsToIgnore ( FTargetingRequestHandle TargetingHandle,
TArray< AActor > & OutAdditionalActorsToIgnore ) const

Native Event to get additional actors the Trace should ignore.

◆ GetSourceLocation()

FVector GetSourceLocation ( FTargetingRequestHandle TargetingHandle) const

Native Event to get the source location for the Trace.

◆ GetSourceOffset()

FVector GetSourceOffset ( FTargetingRequestHandle TargetingHandle) const

Native Event to get a source location offset for the Trace.

◆ GetSweptTraceBoxHalfExtents()

FVector GetSweptTraceBoxHalfExtents ( FTargetingRequestHandle TargetingHandle) const

Native Event to get the swept box trace half extents (only called if TraceType = ETargetingTraceType::Box).

◆ GetSweptTraceCapsuleHalfHeight()

float32 GetSweptTraceCapsuleHalfHeight ( FTargetingRequestHandle TargetingHandle) const

Native Event to get the swept trace capsule's half height (only called if TraceType = ETargetingTraceType::Capsule).

◆ GetSweptTraceRadius()

float32 GetSweptTraceRadius ( FTargetingRequestHandle TargetingHandle) const

Native Event to get the swept trace radius (only called if TraceType = ETargetingTraceType::Sphere or TraceType = ETargetingTraceType::Capsule).

◆ GetSweptTraceRotation()

FRotator GetSweptTraceRotation ( FTargetingRequestHandle TargetingHandle) const

Native Event to get the swept trace rotation relative to trace direction (only called if TraceType = ETargetingTraceType::Capsule or TraceType = ETargetingTraceType::Box).

◆ GetTraceDirection()

FVector GetTraceDirection ( FTargetingRequestHandle TargetingHandle) const

Native Event to get the direction for the Trace.

◆ GetTraceLength()

float32 GetTraceLength ( FTargetingRequestHandle TargetingHandle) const

Native Event to get the length for the Trace.

◆ SetbComplexTrace()

void SetbComplexTrace ( bool Value)

Indicates the trace should perform a complex trace.

◆ SetbIgnoreInstigatorActor()

void SetbIgnoreInstigatorActor ( bool Value)

Indicates the trace should ignore the source actor.

◆ SetbIgnoreSourceActor()

void SetbIgnoreSourceActor ( bool Value)

Indicates the trace should ignore the source actor.

◆ StaticClass()

UClass StaticClass ( )
static

Member Data Documentation

◆ CollisionProfileName

FCollisionProfileName CollisionProfileName

The collision profile name to use instead of trace channel (does not work for async traces).

◆ DefaultSourceOffset

FVector DefaultSourceOffset

The default source location offset used by GetSourceOffset.

◆ DefaultSweptTraceBoxHalfExtentX

FScalableFloat DefaultSweptTraceBoxHalfExtentX

The default swept extents used by GetSweptTraceExtents when the trace type is set to Box.

◆ DefaultSweptTraceBoxHalfExtentY

FScalableFloat DefaultSweptTraceBoxHalfExtentY

The default swept extents used by GetSweptTraceBoxHalfExtents when the trace type is set to Box.

◆ DefaultSweptTraceBoxHalfExtentZ

FScalableFloat DefaultSweptTraceBoxHalfExtentZ

The default swept extents used by GetSweptTraceBoxHalfExtents when the trace type is set to Box.

◆ DefaultSweptTraceCapsuleHalfHeight

FScalableFloat DefaultSweptTraceCapsuleHalfHeight

The default swept trace radius used by GetSweptTraceRadius when the trace type is set to Capsule.

◆ DefaultSweptTraceRadius

FScalableFloat DefaultSweptTraceRadius

The default swept trace radius used by GetSweptTraceRadius when the trace type is set to Sphere or Capsule.

◆ DefaultSweptTraceRotation

FRotator DefaultSweptTraceRotation

The default swept rotation (relative to the trace direction) used by GetSweptTraceRotation when the trace type is set to Capsule or Box.

◆ DefaultTraceLength

FScalableFloat DefaultTraceLength

The default trace length to use if GetTraceLength is not overridden by a child.

◆ ExplicitTraceDirection

FVector ExplicitTraceDirection

An explicit trace direction to use (default uses pawn control rotation or actor forward vector in GetTraceDirection).

◆ TraceChannel

ETraceTypeQuery TraceChannel

The trace channel to use.

◆ TraceType

The trace type (i.e. shape) to use.