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

Public Member Functions

Functions
void SetbActuallyFilterLinearKeys (bool Value)
 Controls whether the final filtering step will occur, or only the retargetting after bitwise compression. If both this and bRetarget are false, then the linear compressor will do no better than the underlying bitwise compressor, extremely slowly.
void SetbRetarget (bool Value)
 true = As the animation is compressed, adjust animated nodes to compensate for compression error. false= Do not adjust animated nodes.
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 UAnimCompress
static UClass StaticClass ()
Static Public Member Functions inherited from UAnimBoneCompressionCodec
static UClass StaticClass ()
Static Public Member Functions inherited from UObject
static UClass StaticClass ()

Public Attributes

LinearKeyRemoval
float32 MaxAngleDiff
 Maximum angle difference to use when testing if an animation key may be removed. Lower values retain more keys, but yield less compression.
float32 MaxScaleDiff
 Maximum Scale difference to use when testing if an animation key may be removed. Lower values retain more keys, but yield less compression.
float32 MaxEffectorDiff
 As keys are tested for removal, we monitor the effects all the way down to the end effectors. If their position changes by more than this amount as a result of removing a key, the key will be retained. This value is used for all bones except the end-effectors parent.
float32 MinEffectorDiff
 As keys are tested for removal, we monitor the effects all the way down to the end effectors. If their position changes by more than this amount as a result of removing a key, the key will be retained. This value is used for the end-effectors parent, allowing tighter restrictions near the end of a skeletal chain.
float32 EffectorDiffSocket
 Error threshold for End Effectors with Sockets attached to them. Typically more important bone, where we want to be less aggressive with compression.
float32 ParentKeyScale
 A scale value which increases the likelihood that a bone will retain a key if it's parent also had a key at the same time position. Higher values can remove shaking artifacts from the animation, at the cost of compression.
float32 MaxPosDiff
 Maximum position difference to use when testing if an animation key may be removed. Lower values retain more keys, but yield less compression.
Public Attributes inherited from UAnimCompress
AnimationCompressionFormat RotationCompressionFormat
 Format for bitwise compression of rotation data.
AnimationCompressionFormat ScaleCompressionFormat
 Format for bitwise compression of scale data.
AnimationCompressionFormat TranslationCompressionFormat
 Format for bitwise compression of translation data.
Public Attributes inherited from UAnimBoneCompressionCodec
FString Description
 Description for this codec.
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

Member Function Documentation

◆ SetbActuallyFilterLinearKeys()

void SetbActuallyFilterLinearKeys ( bool Value)

Controls whether the final filtering step will occur, or only the retargetting after bitwise compression. If both this and bRetarget are false, then the linear compressor will do no better than the underlying bitwise compressor, extremely slowly.

◆ SetbRetarget()

void SetbRetarget ( bool Value)

true = As the animation is compressed, adjust animated nodes to compensate for compression error. false= Do not adjust animated nodes.

◆ StaticClass()

UClass StaticClass ( )
static

Member Data Documentation

◆ EffectorDiffSocket

float32 EffectorDiffSocket

Error threshold for End Effectors with Sockets attached to them. Typically more important bone, where we want to be less aggressive with compression.

◆ MaxAngleDiff

float32 MaxAngleDiff

Maximum angle difference to use when testing if an animation key may be removed. Lower values retain more keys, but yield less compression.

◆ MaxEffectorDiff

float32 MaxEffectorDiff

As keys are tested for removal, we monitor the effects all the way down to the end effectors. If their position changes by more than this amount as a result of removing a key, the key will be retained. This value is used for all bones except the end-effectors parent.

◆ MaxPosDiff

float32 MaxPosDiff

Maximum position difference to use when testing if an animation key may be removed. Lower values retain more keys, but yield less compression.

◆ MaxScaleDiff

float32 MaxScaleDiff

Maximum Scale difference to use when testing if an animation key may be removed. Lower values retain more keys, but yield less compression.

◆ MinEffectorDiff

float32 MinEffectorDiff

As keys are tested for removal, we monitor the effects all the way down to the end effectors. If their position changes by more than this amount as a result of removing a key, the key will be retained. This value is used for the end-effectors parent, allowing tighter restrictions near the end of a skeletal chain.

◆ ParentKeyScale

float32 ParentKeyScale

A scale value which increases the likelihood that a bone will retain a key if it's parent also had a key at the same time position. Higher values can remove shaking artifacts from the animation, at the cost of compression.