Show / Hide Table of Contents

Class MediaSoundComponent

Implements a sound component for playing a media player's audio output.

Inheritance
System.Object
UObject
ActorComponent
SceneComponent
SynthComponent
MediaSoundComponent
Inherited Members
SynthComponent.IsPlaying()
SynthComponent.SetSubmixSend(SoundSubmix, Single)
SynthComponent.SetVolumeMultiplier(Single)
SynthComponent.Start()
SynthComponent.Stop()
SynthComponent.bAutoDestroy
SynthComponent.bStopWhenOwnerDestroyed
SynthComponent.bAllowSpatialization
SynthComponent.bOverrideAttenuation
SynthComponent.bOutputToBusOnly
SynthComponent.AttenuationSettings
SynthComponent.AttenuationOverrides
SynthComponent.ConcurrencySettings
SynthComponent.SoundClass
SynthComponent.SourceEffectChain
SynthComponent.SoundSubmix
SynthComponent.bIsUISound
SynthComponent.bIsPreviewSound
SynthComponent.EnvelopeFollowerAttackTime
SynthComponent.EnvelopeFollowerReleaseTime
SynthComponent.Synth
SynthComponent.AudioComponent
SceneComponent.DetachFromParent(Boolean, Boolean)
SceneComponent.DoesSocketExist(Name)
SceneComponent.GetAllSocketNames()
SceneComponent.GetAttachParent()
SceneComponent.GetAttachSocketName()
SceneComponent.GetChildComponent(Int32)
SceneComponent.GetChildrenComponents(Boolean)
SceneComponent.GetComponentVelocity()
SceneComponent.GetForwardVector()
SceneComponent.GetNumChildrenComponents()
SceneComponent.GetParentComponents()
SceneComponent.GetPhysicsVolume()
SceneComponent.GetRelativeTransform()
SceneComponent.GetRightVector()
SceneComponent.GetShouldUpdatePhysicsVolume()
SceneComponent.GetSocketLocation(Name)
SceneComponent.GetSocketQuaternion(Name)
SceneComponent.GetSocketRotation(Name)
SceneComponent.GetSocketTransform(Name, Byte)
SceneComponent.GetUpVector()
SceneComponent.IsAnySimulatingPhysics()
SceneComponent.IsSimulatingPhysics(Name)
SceneComponent.IsVisible()
SceneComponent.K2_AddLocalOffset(Vector, Boolean, Boolean)
SceneComponent.K2_AddLocalRotation(Rotator, Boolean, Boolean)
SceneComponent.K2_AddLocalTransform(Transform, Boolean, Boolean)
SceneComponent.K2_AddRelativeLocation(Vector, Boolean, Boolean)
SceneComponent.K2_AddRelativeRotation(Rotator, Boolean, Boolean)
SceneComponent.K2_AddWorldOffset(Vector, Boolean, Boolean)
SceneComponent.K2_AddWorldRotation(Rotator, Boolean, Boolean)
SceneComponent.K2_AddWorldTransform(Transform, Boolean, Boolean)
SceneComponent.K2_AttachTo(SceneComponent, Name, Byte, Boolean)
SceneComponent.K2_AttachToComponent(SceneComponent, Name, EAttachmentRule, EAttachmentRule, EAttachmentRule, Boolean)
SceneComponent.K2_DetachFromComponent(EDetachmentRule, EDetachmentRule, EDetachmentRule, Boolean)
SceneComponent.K2_GetComponentLocation()
SceneComponent.K2_GetComponentRotation()
SceneComponent.K2_GetComponentScale()
SceneComponent.K2_GetComponentToWorld()
SceneComponent.K2_SetRelativeLocation(Vector, Boolean, Boolean)
SceneComponent.K2_SetRelativeLocationAndRotation(Vector, Rotator, Boolean, Boolean)
SceneComponent.K2_SetRelativeRotation(Rotator, Boolean, Boolean)
SceneComponent.K2_SetRelativeTransform(Transform, Boolean, Boolean)
SceneComponent.K2_SetWorldLocation(Vector, Boolean, Boolean)
SceneComponent.K2_SetWorldLocationAndRotation(Vector, Rotator, Boolean, Boolean)
SceneComponent.K2_SetWorldRotation(Rotator, Boolean, Boolean)
SceneComponent.K2_SetWorldTransform(Transform, Boolean, Boolean)
SceneComponent.ResetRelativeTransform()
SceneComponent.SetAbsolute(Boolean, Boolean, Boolean)
SceneComponent.SetHiddenInGame(Boolean, Boolean)
SceneComponent.SetMobility(Byte)
SceneComponent.SetRelativeScale3D(Vector)
SceneComponent.SetShouldUpdatePhysicsVolume(Boolean)
SceneComponent.SetVisibility(Boolean, Boolean)
SceneComponent.SetWorldScale3D(Vector)
SceneComponent.SnapTo(SceneComponent, Name)
SceneComponent.ToggleVisibility(Boolean)
SceneComponent.AttachParent
SceneComponent.AttachSocketName
SceneComponent.AttachChildren
SceneComponent.ClientAttachedChildren
SceneComponent.RelativeLocation
SceneComponent.RelativeRotation
SceneComponent.RelativeScale3D
SceneComponent.ComponentVelocity
SceneComponent.bComponentToWorldUpdated
SceneComponent.bAbsoluteLocation
SceneComponent.bAbsoluteRotation
SceneComponent.bAbsoluteScale
SceneComponent.bVisible
SceneComponent.bHiddenInGame
SceneComponent.bShouldUpdatePhysicsVolume
SceneComponent.bBoundsChangeTriggersStreamingDataRebuild
SceneComponent.bUseAttachParentBound
SceneComponent.bVisualizeComponent
SceneComponent.Mobility
SceneComponent.DetailMode
ActorComponent.RegisterComponent()
ActorComponent.UnregisterComponent()
ActorComponent.ReceiveBeginPlay
ActorComponent.ReceiveEndPlay
ActorComponent.ReceiveTick
ActorComponent.Activate(Boolean)
ActorComponent.AddTickPrerequisiteActor(Actor)
ActorComponent.AddTickPrerequisiteComponent(ActorComponent)
ActorComponent.ComponentHasTag(Name)
ActorComponent.Deactivate()
ActorComponent.GetComponentTickInterval()
ActorComponent.GetOwner()
ActorComponent.IsActive()
ActorComponent.IsBeingDestroyed()
ActorComponent.IsComponentTickEnabled()
ActorComponent.K2_DestroyComponent(UObject)
ActorComponent.RemoveTickPrerequisiteActor(Actor)
ActorComponent.RemoveTickPrerequisiteComponent(ActorComponent)
ActorComponent.SetActive(Boolean, Boolean)
ActorComponent.SetAutoActivate(Boolean)
ActorComponent.SetComponentTickEnabled(Boolean)
ActorComponent.SetComponentTickInterval(Single)
ActorComponent.SetIsReplicated(Boolean)
ActorComponent.SetTickableWhenPaused(Boolean)
ActorComponent.SetTickGroup(Byte)
ActorComponent.ToggleActive()
ActorComponent.PrimaryComponentTick
ActorComponent.AssetUserData
ActorComponent.bReplicates
ActorComponent.bNetAddressable
ActorComponent.bAutoActivate
ActorComponent.bIsActive
ActorComponent.bEditableWhenInherited
ActorComponent.bCanEverAffectNavigation
ActorComponent.bIsEditorOnly
ActorComponent.bIsVisualizationComponent
UObject.TransientPackage
UObject.CastTo<T>(UObject)
UObject.CastTo(UObject, Type)
UObject.RemoveObject(UObject)
UObject.MakeObjectArrayField<T>(NativeArray*)
UObject.NotImplemented<T>()
UObject.Construct()
UObject.GetHashCode()
UObject.GetName()
UObject.ToString()
UObject.Name
UObject._None
UObject.None
UObject.ObjPointer
UObject.LoadObjectFromClass(Class, UObject, String, String, LoadFlags, PackageMap, Boolean)
UObject.LoadClass(Class, UObject, String, String, LoadFlags, PackageMap)
UObject.GetPropertyFor<T>(Name)
UObject.ExecuteUbergraph
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: UE4.MediaAssets
Assembly: UE4DotNet.dll
Syntax
public class MediaSoundComponent : SynthComponent

Properties

| Improve this Doc View Source

DefaultObject

Get UE4 Default Object for this Class

Declaration
public static MediaSoundComponent DefaultObject { get; }
Property Value
Type Description
MediaSoundComponent
| Improve this Doc View Source

DynamicRateAdjustment

Declaration
public bool DynamicRateAdjustment { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

MediaPlayer

The media player asset associated with this component.

Declaration
public MediaPlayer MediaPlayer { get; set; }
Property Value
Type Description
MediaPlayer
Remarks

This property is meant for design-time convenience. To change the associated media player at run-time, use the SetMediaPlayer method.

@see SetMediaPlayer

| Improve this Doc View Source

RateAdjustmentFactor

Factor for calculating the sample rate adjustment.

Declaration
public float RateAdjustmentFactor { get; set; }
Property Value
Type Description
System.Single
Remarks

If dynamic rate adjustment is enabled, this number is multiplied with the drift between the audio and media clock (in 100ns ticks) to determine the adjustment. that is to be multiplied into the current playrate.

| Improve this Doc View Source

RateAdjustmentRange

The allowed range of dynamic rate adjustment.

Declaration
public FloatRange RateAdjustmentRange { get; set; }
Property Value
Type Description
FloatRange
Remarks

If dynamic rate adjustment is enabled, and the necessary adjustment falls outside of this range, audio samples will be dropped.

| Improve this Doc View Source

StaticClass

Get UE4 Class

Declaration
public static Class StaticClass { get; }
Property Value
Type Description
Class

Methods

| Improve this Doc View Source

BP_GetAttenuationSettingsToApply()

Get the attenuation settings based on the current component settings.

Declaration
public (SoundAttenuationSettings, bool) BP_GetAttenuationSettingsToApply()
Returns
Type Description
System.ValueTuple<SoundAttenuationSettings, System.Boolean>
Remarks

@param OutAttenuationSettings Will contain the attenuation settings, if available. @return true if attenuation settings were returned, false if attenuation is disabled.

| Improve this Doc View Source

GetMediaPlayer()

Get the media player that provides the audio samples.

Declaration
public MediaPlayer GetMediaPlayer()
Returns
Type Description
MediaPlayer
Remarks

@return The component's media player, or nullptr if not set. @see SetMediaPlayer

| Improve this Doc View Source

New(UObject, Name)

Spawn an object of this class

Declaration
public static MediaSoundComponent New(UObject obj = null, Name name = default(Name))
Parameters
Type Name Description
UObject obj
Name name
Returns
Type Description
MediaSoundComponent
| Improve this Doc View Source

SetMediaPlayer(MediaPlayer)

Set the media player that provides the audio samples.

Declaration
public void SetMediaPlayer(MediaPlayer NewMediaPlayer)
Parameters
Type Name Description
MediaPlayer NewMediaPlayer
Remarks

@param NewMediaPlayer The player to set. @see GetMediaPlayer

Operators

| Improve this Doc View Source

Implicit(IntPtr to MediaSoundComponent)

Convert from IntPtr to UObject

Declaration
public static implicit operator MediaSoundComponent(IntPtr p)
Parameters
Type Name Description
System.IntPtr p
Returns
Type Description
MediaSoundComponent
  • Improve this Doc
  • View Source
Back to top Generated by DocFX