FSphericalHarmonicCalculator

Azimuth angle is measured CCW from front.

Choose your operating system:

Windows

macOS

Linux

References

Module

SoundFieldRendering

Header

/Engine/Source/Runtime/SoundFieldRendering/Public/SphericalHarmonicCalculator.h

Include

#include "SphericalHarmonicCalculator.h"

Syntax

class FSphericalHarmonicCalculator

Remarks

Azimuth angle is measured CCW from front. Elevation is 0 horizontal plane, + is above horizontal plane

Functions

Name Description

Public function Static

void

 

AdjustUESphericalCoordinatesForAmbisonics

(
    FVector2D& InOutVector
)

Public function Static

void

 

ComputeSoundfieldChannelGains

(
    const int32 Order,
    const float Azimuth,
    const float Elevation,
    float* OutGains
)

Public function Static

void

 

GenerateFirstOrderRotationMatrixGivenDegrees

(
    const float RotXDegrees,
    const float RotYDegrees,
    const float RotZDegrees,
    FMatrix& OutMatrix
)

Public function Static

void

 

GenerateFirstOrderRotationMatrixGivenRadians

(
    const float RotXRadians,
    const float RotYRadians,
    const float RotZRadians,
    FMatrix& OutMatrix
)

Enums

Name

Description

Public enum

AmbiChanNumber