Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/VisualLogger
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/VisualLogger/VisualLoggerTypes.h |
| Include | #include "VisualLogger/VisualLoggerTypes.h" |
Syntax
struct FVisualLogEntry
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint8: 1 | bIsAllowedToLog | ||
| uint8: 1 | bIsInitialized | ||
| uint8: 1 | bIsLocationValid | ||
| uint8: 1 | bPassedClassAllowList | ||
| uint8: 1 | bPassedObjectAllowList | ||
| TArray< FVisualLogDataBlock > | DataBlocks | ||
| TArray< FVisualLogShapeElement > | ElementsToDraw | ||
| TArray< FVisualLogEvent > | Events | ||
| TArray< FVisualLogHistogramSample > | HistogramSamples | ||
| FVector | Location | ||
| TArray< FVisualLogLine > | LogLines | ||
| TArray< FVisualLogStatusCategory > | Status | ||
| double | TimeStamp | For absolute position of events along a timeline (can involve multiple worlds/game instances such as clients and server) | |
| double | WorldTimeStamp | The time of the event according to its UWorld (can vary widely between game instances such as clients and server) |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FVisualLogEntry
(
const AActor* InActor, |
|||
FVisualLogEntry
(
double InTimeStamp, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Arrow | ||
| void | |||
| void | Boxes | ||
| void | AddCapsule
(
const FVector& Base, |
||
| void | Circle | ||
| void | |||
| void | AddConvexElement
(
const TArray< FVector >& Points, |
2d convex | |
| void | AddCylinder
(
const FVector& Start, |
||
| FVisualLogDataBlock & | AddDataBlock
(
const FString& TagName, |
Custom data block. | |
| void | AddElement
(
const TArray< FVector >& Points, |
Path | |
| void | AddElement
(
const FVisualLogShapeElement& Element |
Custom element | |
| void | AddElement
(
const FVector& Start, |
Segment | |
| void | AddElement
(
const TArray< FVector >& ConvexPoints, |
NavArea or vertically pulled convex shape | |
| void | AddElement
(
const FBox& Box, |
Box | |
| void | AddElement
(
const FVector& Start, |
Cylinder | |
| void | AddElement
(
const FVector& Base, |
Capsule | |
| void | AddElement
(
const FVector& Origin, |
Cone | |
| void | AddElement
(
const TArray< FVector >& Vertices, |
3d Mesh | |
| void | AddElement
(
const FVector& Point, |
Location | |
| int32 | AddEvent
(
const FVisualLogEventBase& Event |
Event. | |
| void | AddHistogramData
(
const FVector2D& DataSample, |
Histogram sample | |
| void | AddLocation
(
const FVector& Point, |
||
| void | |||
| void | |||
| void | AddPulledConvex
(
const TArray< FVector >& ConvexPoints, |
||
| void | AddSegment
(
const FVector& Start, |
||
| void | Sphere | ||
| void | AddText
(
const FString& TextLine, |
||
| int32 | FindStatusIndex
(
const FString& CategoryName |
Find index of status category | |
| void | InitializeEntry
(
const double InTimeStamp |
||
| void | MoveTo
(
FVisualLogEntry& Other |
Moves all content to provided entry and reseting our content. | |
| void | Reset () |
||
| void | SetPassedObjectAllowList
(
const bool bPassed |
||
| bool | ShouldFlush
(
double InTimeStamp |
||
| bool | ShouldLog
(
const ECreateIfNeeded ShouldCreate |
||
| void |