Class AIPerceptionStimuliSourceComponent
Gives owning actor a way to auto-register as perception system's sense stimuli source
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 AIPerceptionStimuliSourceComponent : ActorComponentProperties
| Improve this Doc View SourcebAutoRegisterAsSource
Declaration
public bool bAutoRegisterAsSource { get; }Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static AIPerceptionStimuliSourceComponent DefaultObject { get; }Property Value
| Type | Description | 
|---|---|
| AIPerceptionStimuliSourceComponent | 
RegisterAsSourceForSenses
Register as Source for Senses
Declaration
public ObjectArrayField<Class> RegisterAsSourceForSenses { get; }Property Value
| Type | Description | 
|---|---|
| ObjectArrayField<Class> | 
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 AIPerceptionStimuliSourceComponent New(UObject obj = null, Name name = default(Name))Parameters
| Type | Name | Description | 
|---|---|---|
| UObject | obj | |
| Name | name | 
Returns
| Type | Description | 
|---|---|
| AIPerceptionStimuliSourceComponent | 
RegisterForSense(SubclassOf<AISense>)
Registers owning actor as source for specified sense class
Declaration
public void RegisterForSense(SubclassOf<AISense> SenseClass)Parameters
| Type | Name | Description | 
|---|---|---|
| SubclassOf<AISense> | SenseClass | 
RegisterWithPerceptionSystem()
Registers owning actor as source of stimuli for senses specified in RegisterAsSourceForSenses.
Declaration
public void RegisterWithPerceptionSystem()Remarks
Note that you don't have to do it if bAutoRegisterAsSource == true
UnregisterFromPerceptionSystem()
Unregister owning actor from being a source of sense stimuli
Declaration
public void UnregisterFromPerceptionSystem()UnregisterFromSense(SubclassOf<AISense>)
Unregisters owning actor from sources list of a specified sense class
Declaration
public void UnregisterFromSense(SubclassOf<AISense> SenseClass)Parameters
| Type | Name | Description | 
|---|---|---|
| SubclassOf<AISense> | SenseClass | 
Operators
| Improve this Doc View SourceImplicit(IntPtr to AIPerceptionStimuliSourceComponent)
Convert from IntPtr to UObject
Declaration
public static implicit operator AIPerceptionStimuliSourceComponent(IntPtr p)Parameters
| Type | Name | Description | 
|---|---|---|
| System.IntPtr | p | 
Returns
| Type | Description | 
|---|---|
| AIPerceptionStimuliSourceComponent |