unreal.AudioInsightsBlueprintLibrary

class unreal.AudioInsightsBlueprintLibrary(outer: Object | None = None, name: Name | str = 'None')

Bases: BlueprintFunctionLibrary

Static class with useful gameplay utility functions that can be called from both Blueprint and C++

C++ Source:

  • Plugin: AudioInsightsRuntime

  • Module: AudioInsightsRuntime

  • File: AudioInsightsBlueprintLibrary.h

classmethod log_audio_insights_event(world_context_object, event_name, sound_asset=None, actor=None) None

Send an event message to the Audio Insights event log. The filter category for the event can be added in the Audio Insights editor preferences Requires the Audio Insights plug-in to be enabled.

Parameters:
  • world_context_object (Object)

  • event_name (str) – the name that will appear in the event log for this event.

  • sound_asset (SoundBase) – (optional) - the sound asset associated with this event.

  • actor (Actor) – (optional) - the actor associated with this event.

classmethod log_audio_insights_event_for_audio_component(world_context_object, event_name, audio_component) None

Send an event message to the Audio Insights event log for a given AudioComponent. The filter category for the event can be added in the Audio Insights editor preferences Requires the Audio Insights plug-in to be enabled.

Parameters:
  • world_context_object (Object)

  • event_name (str) – the name that will appear in the event log for this event

  • audio_component (AudioComponent) – the AudioComponent associated with this event