Class AmbientSound
A sound actor that can be placed in a level
Inherited Members
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.Engine
Assembly: UE4DotNet.dll
Syntax
public class AmbientSound : Actor
Properties
| Improve this Doc View SourceAudioComponent
Audio component that handles sound playing
Declaration
public AudioComponent AudioComponent { get; }
Property Value
Type | Description |
---|---|
AudioComponent |
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static AmbientSound DefaultObject { get; }
Property Value
Type | Description |
---|---|
AmbientSound |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
Methods
| Improve this Doc View SourceAdjustVolume(Single, Single)
Adjust Volume
Declaration
public void AdjustVolume(float AdjustVolumeDuration, float AdjustVolumeLevel)
Parameters
Type | Name | Description |
---|---|---|
System.Single | AdjustVolumeDuration | |
System.Single | AdjustVolumeLevel |
FadeIn(Single, Single)
BEGIN DEPRECATED (use component functions now in level script)
Declaration
public void FadeIn(float FadeInDuration, float FadeVolumeLevel)
Parameters
Type | Name | Description |
---|---|---|
System.Single | FadeInDuration | |
System.Single | FadeVolumeLevel |
FadeOut(Single, Single)
Fade Out
Declaration
public void FadeOut(float FadeOutDuration, float FadeVolumeLevel)
Parameters
Type | Name | Description |
---|---|---|
System.Single | FadeOutDuration | |
System.Single | FadeVolumeLevel |
New(UObject, Name)
Spawn an object of this class
Declaration
public static AmbientSound New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
AmbientSound |
Play(Single)
Play
Declaration
public void Play(float StartTime)
Parameters
Type | Name | Description |
---|---|---|
System.Single | StartTime |
Stop()
Stop
Declaration
public void Stop()
Operators
| Improve this Doc View SourceImplicit(IntPtr to AmbientSound)
Convert from IntPtr to UObject
Declaration
public static implicit operator AmbientSound(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
AmbientSound |