FGameplayDebuggerShape::MakeCapsule

A dynamically sizeable string.

Windows
MacOS
Linux

References

Module

GameplayDebugger

Header

/Engine/Source/Developer/GameplayDebugger/Public/GameplayDebuggerTypes.h

Include

#include "GameplayDebuggerTypes.h"

Source

/Engine/Source/Developer/GameplayDebugger/Private/GameplayDebuggerTypes.cpp

Syntax

static FGameplayDebuggerShape MakeCapsule
(
    const FVector & Center,
    const float Radius,
    const float HalfHeight,
    const FColor & Color,
    const FString & Description
)

Remarks

A dynamically sizeable string. When dealing with UTF-8 literals, the following advice is recommended:

  • Do not use the u8"..." prefix (gives the wrong array type until C++20).

  • Use UTF8TEXT("...") for array literals (type is const UTF8CHAR[n]).

  • Use "..."_U8SV for string view literals (type is FUtf8StringView).

  • Use or escape sequences rather than to specify Unicode code points.

See Also