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

Initial simple API for reading and writing data in a data channel from game code / BP. Likely to be replaced in the near future with a custom BP node and a helper struct. More...

Public Member Functions

NiagaraDataChannel
FLinearColor ReadLinearColor (FName VarName, int Index, bool &IsValid) const
int Num () const
bool ReadBool (FName VarName, int Index, bool &IsValid) const
uint8 ReadEnum (FName VarName, int Index, bool &IsValid) const
float ReadFloat (FName VarName, int Index, bool &IsValid) const
FNiagaraID ReadID (FName VarName, int Index, bool &IsValid) const
int ReadInt (FName VarName, int Index, bool &IsValid) const
bool InitAccess (FNiagaraDataChannelSearchParameters SearchParams, bool bReadPrevFrameData)
 Call before each access to the data channel to grab the correct data to read.
FVector ReadPosition (FName VarName, int Index, bool &IsValid) const
FQuat ReadQuat (FName VarName, int Index, bool &IsValid) const
FNiagaraSpawnInfo ReadSpawnInfo (FName VarName, int Index, bool &IsValid) const
FVector ReadVector (FName VarName, int Index, bool &IsValid) const
FVector2D ReadVector2D (FName VarName, int Index, bool &IsValid) const
FVector4 ReadVector4 (FName VarName, int Index, bool &IsValid) const
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 UObject
static UClass StaticClass ()

Additional Inherited Members

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

Initial simple API for reading and writing data in a data channel from game code / BP. Likely to be replaced in the near future with a custom BP node and a helper struct.

Member Function Documentation

◆ InitAccess()

bool InitAccess ( FNiagaraDataChannelSearchParameters SearchParams,
bool bReadPrevFrameData )

Call before each access to the data channel to grab the correct data to read.

◆ Num()

int Num ( ) const

◆ ReadBool()

bool ReadBool ( FName VarName,
int Index,
bool & IsValid ) const

◆ ReadEnum()

uint8 ReadEnum ( FName VarName,
int Index,
bool & IsValid ) const

◆ ReadFloat()

float ReadFloat ( FName VarName,
int Index,
bool & IsValid ) const

◆ ReadID()

FNiagaraID ReadID ( FName VarName,
int Index,
bool & IsValid ) const

◆ ReadInt()

int ReadInt ( FName VarName,
int Index,
bool & IsValid ) const

◆ ReadLinearColor()

FLinearColor ReadLinearColor ( FName VarName,
int Index,
bool & IsValid ) const

◆ ReadPosition()

FVector ReadPosition ( FName VarName,
int Index,
bool & IsValid ) const

◆ ReadQuat()

FQuat ReadQuat ( FName VarName,
int Index,
bool & IsValid ) const

◆ ReadSpawnInfo()

FNiagaraSpawnInfo ReadSpawnInfo ( FName VarName,
int Index,
bool & IsValid ) const

◆ ReadVector()

FVector ReadVector ( FName VarName,
int Index,
bool & IsValid ) const

◆ ReadVector2D()

FVector2D ReadVector2D ( FName VarName,
int Index,
bool & IsValid ) const

◆ ReadVector4()

FVector4 ReadVector4 ( FName VarName,
int Index,
bool & IsValid ) const

◆ StaticClass()

UClass StaticClass ( )
static