Class AISense_Hearing
AISense Hearing
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.AIModule
Assembly: UE4DotNet.dll
Syntax
public class AISense_Hearing : AISense
Properties
| Improve this Doc View SourceDefaultObject
Get UE4 Default Object for this Class
Declaration
public static AISense_Hearing DefaultObject { get; }
Property Value
Type | Description |
---|---|
AISense_Hearing |
SpeedOfSoundSq
Defaults to 0 to have instant notification.
Declaration
public float SpeedOfSoundSq { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Remarks
Setting to > 0 will result in delaying when AI hears the sound based on the distance from the source
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
Methods
| Improve this Doc View SourceNew(UObject, Name)
Spawn an object of this class
Declaration
public static AISense_Hearing New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
AISense_Hearing |
ReportNoiseEvent(UObject, Vector, Single, Actor, Single, Name)
Declaration
public static void ReportNoiseEvent(UObject WorldContextObject, Vector NoiseLocation, float Loudness, Actor Instigator, float MaxRange, Name Tag)
Parameters
Type | Name | Description |
---|---|---|
UObject | WorldContextObject | |
Vector | NoiseLocation | |
System.Single | Loudness | |
Actor | Instigator | |
System.Single | MaxRange | |
Name | Tag |
Operators
| Improve this Doc View SourceImplicit(IntPtr to AISense_Hearing)
Convert from IntPtr to UObject
Declaration
public static implicit operator AISense_Hearing(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
AISense_Hearing |