UE4U4MLSensor_Attribute

Windows
MacOS
Linux

Inheritance Hierarchy

U4MLSensor

UE4U4MLSensor_Attribute

References

Module

UE4ML

Header

/Engine/Plugins/AI/UE4ML/Source/UE4ML/Public/Sensors/4MLSensor_Attribute.h

Include

#include "Sensors/4MLSensor_Attribute.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(Blueprintable)
class UE4U4MLSensor_Attribute : public U4MLSensor

Variables

Name Description

Protected variable

TArray< FName >

 

AttributeNames

Protected variable

TArray< FGamepl...

 

Attributes

Valid only as long as AttributeSet != nullptr

Protected variable UProperty

UAttributeSet &...

 

AttributeSet

Protected variable

TArray< float >

 

Values

Functions

Name Description

Protected function

void

 

BindAttributes

(
    AActor& Actor
)

Public function Virtual

void

 

Configure

(
    const TMap< FName, FString >& Para...
)

Public function Virtual

bool

 

ConfigureForAgent

(
    U4MLAgent& Agent
)

Protected function Virtual Const

TSharedPtr< ...

 

ConstructSpaceDef()

Protected function Virtual

void

 

GetObservations

(
    F4MLMemoryWriter& Ar
)

Protected function Virtual

void

 

OnAvatarSet

(
    AActor* Avatar
)

Protected function Virtual

void

 

SenseImpl

(
    const float DeltaTime
)

Protected function

void

 

SetAttributes

(
    TArray< FString >& InAttributeName...
)

Public function

 

U4MLSensor_Attribute

(
    const FObjectInitializer& ObjectIn...
)

Protected function Virtual

void

 

UpdateSpaceDef()

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss