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

Base class for a camera shake. A camera shake contains a root shake "pattern" which is the object that contains the actual logic driving how the camera is shaken. Keeping the two separate makes it possible to completely change how a shake works without having to create a completely different asset. More...

Static Public Member Functions

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

Public Attributes

CameraShakePattern
UCameraShakePattern RootShakePattern
 The root pattern for this camera shake.
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

CameraShake

float32 ShakeScale
 The overall scale to apply to the shake. Only valid when the shake is active.
bool bSingleInstance
 If true to only allow a single instance of this shake class to play at any given time. Subsequent attempts to play this shake will simply restart the timer.
void SetRootShakePattern (UCameraShakePattern InPattern)
 Sets the root pattern of this camera shake.
UCameraShakePattern GetRootShakePattern () const
 Gets the root pattern of this camera shake.

Additional Inherited Members

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

Detailed Description

Base class for a camera shake. A camera shake contains a root shake "pattern" which is the object that contains the actual logic driving how the camera is shaken. Keeping the two separate makes it possible to completely change how a shake works without having to create a completely different asset.

Member Function Documentation

◆ GetRootShakePattern()

UCameraShakePattern GetRootShakePattern ( ) const

Gets the root pattern of this camera shake.

◆ SetRootShakePattern()

void SetRootShakePattern ( UCameraShakePattern InPattern)

Sets the root pattern of this camera shake.

◆ StaticClass()

UClass StaticClass ( )
static

Member Data Documentation

◆ bSingleInstance

bool bSingleInstance

If true to only allow a single instance of this shake class to play at any given time. Subsequent attempts to play this shake will simply restart the timer.

◆ RootShakePattern

UCameraShakePattern RootShakePattern

The root pattern for this camera shake.

◆ ShakeScale

float32 ShakeScale

The overall scale to apply to the shake. Only valid when the shake is active.