Class AIPerceptionSystem
By design checks perception between hostile teams
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 AIPerceptionSystem : UObject
Properties
| Improve this Doc View SourceDefaultObject
Get UE4 Default Object for this Class
Declaration
public static AIPerceptionSystem DefaultObject { get; }
Property Value
Type | Description |
---|---|
AIPerceptionSystem |
PerceptionAgingRate
Perception Aging Rate
Declaration
public float PerceptionAgingRate { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Senses
Senses
Declaration
public ObjectArrayField<AISense> Senses { get; }
Property Value
Type | Description |
---|---|
ObjectArrayField<AISense> |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
Methods
| Improve this Doc View SourceGetSenseClassForStimulus(UObject, AIStimulus)
Get Sense Class for Stimulus
Declaration
public static SubclassOf<AISense> GetSenseClassForStimulus(UObject WorldContextObject, AIStimulus Stimulus)
Parameters
Type | Name | Description |
---|---|---|
UObject | WorldContextObject | |
AIStimulus | Stimulus |
Returns
Type | Description |
---|---|
SubclassOf<AISense> |
New(UObject, Name)
Spawn an object of this class
Declaration
public static AIPerceptionSystem New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
AIPerceptionSystem |
RegisterPerceptionStimuliSource(UObject, SubclassOf<AISense>, Actor)
Register Perception Stimuli Source
Declaration
public static bool RegisterPerceptionStimuliSource(UObject WorldContextObject, SubclassOf<AISense> Sense, Actor Target)
Parameters
Type | Name | Description |
---|---|---|
UObject | WorldContextObject | |
SubclassOf<AISense> | Sense | |
Actor | Target |
Returns
Type | Description |
---|---|
System.Boolean |
ReportEvent(AISenseEvent)
Report Event
Declaration
public void ReportEvent(AISenseEvent PerceptionEvent)
Parameters
Type | Name | Description |
---|---|---|
AISenseEvent | PerceptionEvent |
ReportPerceptionEvent(UObject, AISenseEvent)
Report Perception Event
Declaration
public static void ReportPerceptionEvent(UObject WorldContextObject, AISenseEvent PerceptionEvent)
Parameters
Type | Name | Description |
---|---|---|
UObject | WorldContextObject | |
AISenseEvent | PerceptionEvent |
Operators
| Improve this Doc View SourceImplicit(IntPtr to AIPerceptionSystem)
Convert from IntPtr to UObject
Declaration
public static implicit operator AIPerceptionSystem(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
AIPerceptionSystem |