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

Base class for attenuation settings. More...

Public Member Functions

Functions
FBaseAttenuationSettings & opAssign (FBaseAttenuationSettings Other)

Public Attributes

AttenuationDistance
float32 ConeOffset
 The distance back from the sound's origin to begin the cone when using the cone attenuation shape.
EAttenuationShape AttenuationShape
 The shape of the non-custom attenuation method.
*ENaturalSoundFalloffMode FalloffMode
 Whether to continue attenuating, go silent, or hold last volume value when beyond falloff bounds and 'Attenuation At Max (dB)' is set to a value greater than -60dB. (Only for 'Natural Sound' Distance Algorithm).
float32 dBAttenuationAtMax
 The attenuation volume at the falloff distance in decibels (Only for 'Natural Sound' Distance Algorithm).
FVector AttenuationShapeExtents
 The dimensions to use for the attenuation shape. Interpretation of the values differ per shape. Sphere - X is Sphere Radius. Y and Z are unused Capsule - X is Capsule Half Height, Y is Capsule Radius, Z is unused Box - X, Y, and Z are the Box's dimensions Cone - X is Cone Radius, Y is Cone Angle, Z is Cone Falloff Angle.
EAttenuationDistanceModel DistanceAlgorithm
 The type of attenuation as a function of distance to use.
float32 FalloffDistance
 The distance over which volume attenuation occurs.
float32 ConeSphereRadius
 An optional attenuation radius (sphere) that extends from the cone origin.
float32 ConeSphereFalloffDistance
 The distance over which volume attenuation occurs for the optional sphere shape.
FRuntimeFloatCurve CustomAttenuationCurve
 The custom volume attenuation curve to use.

Detailed Description

Base class for attenuation settings.

Member Function Documentation

◆ opAssign()

Member Data Documentation

◆ AttenuationShape

EAttenuationShape AttenuationShape

The shape of the non-custom attenuation method.

◆ AttenuationShapeExtents

FVector AttenuationShapeExtents

The dimensions to use for the attenuation shape. Interpretation of the values differ per shape. Sphere - X is Sphere Radius. Y and Z are unused Capsule - X is Capsule Half Height, Y is Capsule Radius, Z is unused Box - X, Y, and Z are the Box's dimensions Cone - X is Cone Radius, Y is Cone Angle, Z is Cone Falloff Angle.

◆ ConeOffset

float32 ConeOffset

The distance back from the sound's origin to begin the cone when using the cone attenuation shape.

◆ ConeSphereFalloffDistance

float32 ConeSphereFalloffDistance

The distance over which volume attenuation occurs for the optional sphere shape.

◆ ConeSphereRadius

float32 ConeSphereRadius

An optional attenuation radius (sphere) that extends from the cone origin.

◆ CustomAttenuationCurve

FRuntimeFloatCurve CustomAttenuationCurve

The custom volume attenuation curve to use.

◆ dBAttenuationAtMax

float32 dBAttenuationAtMax

The attenuation volume at the falloff distance in decibels (Only for 'Natural Sound' Distance Algorithm).

◆ DistanceAlgorithm

EAttenuationDistanceModel DistanceAlgorithm

The type of attenuation as a function of distance to use.

◆ FalloffDistance

float32 FalloffDistance

The distance over which volume attenuation occurs.

◆ FalloffMode

* ENaturalSoundFalloffMode FalloffMode

Whether to continue attenuating, go silent, or hold last volume value when beyond falloff bounds and 'Attenuation At Max (dB)' is set to a value greater than -60dB. (Only for 'Natural Sound' Distance Algorithm).