Class PawnNoiseEmitterComponent
PawnNoiseEmitterComponent tracks noise event data used by SensingComponents to hear a Pawn.
Inherited Members
Namespace: UE4.Engine
Assembly: UE4DotNet.dll
Syntax
public class PawnNoiseEmitterComponent : ActorComponent
Remarks
This component is intended to exist on either a Pawn or its Controller. It does nothing on network clients.
Properties
| Improve this Doc View SourcebAIPerceptionSystemCompatibilityMode
Declaration
public bool bAIPerceptionSystemCompatibilityMode { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static PawnNoiseEmitterComponent DefaultObject { get; }
Property Value
Type | Description |
---|---|
PawnNoiseEmitterComponent |
LastLocalNoiseTime
Time of last local noise update
Declaration
public float LastLocalNoiseTime { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
LastLocalNoiseVolume
Most recent noise made by this pawn at its own location
Declaration
public float LastLocalNoiseVolume { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
LastRemoteNoisePosition
Most recent noise made by this pawn not at its own location
Declaration
public Vector LastRemoteNoisePosition { get; set; }
Property Value
Type | Description |
---|---|
Vector |
LastRemoteNoiseTime
Time of last remote noise update
Declaration
public float LastRemoteNoiseTime { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
LastRemoteNoiseVolume
Most recent volume of noise made by this pawn not at its own location
Declaration
public float LastRemoteNoiseVolume { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
NoiseLifetime
After this amount of time, new sound events will overwrite previous sounds even if they are not louder (allows old sounds to decay)
Declaration
public float NoiseLifetime { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
Methods
| Improve this Doc View SourceMakeNoise(Actor, Single, Vector)
Cache noises instigated by the owning pawn for AI sensing @
Declaration
public void MakeNoise(Actor NoiseMaker, float Loudness, Vector NoiseLocation)
Parameters
Type | Name | Description |
---|---|---|
Actor | NoiseMaker | |
System.Single | Loudness | |
Vector | NoiseLocation |
Remarks
param NoiseMaker - is the actual actor which made the noise @param Loudness - is the relative loudness of the noise (0.0 to 1.0) @param NoiseLocation - is the position of the noise
New(UObject, Name)
Spawn an object of this class
Declaration
public static PawnNoiseEmitterComponent New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
PawnNoiseEmitterComponent |
Operators
| Improve this Doc View SourceImplicit(IntPtr to PawnNoiseEmitterComponent)
Convert from IntPtr to UObject
Declaration
public static implicit operator PawnNoiseEmitterComponent(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
PawnNoiseEmitterComponent |