You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider the following C++ snippets, respectively from an Unreal Engine C++ repo and a Flax Engine C++ repo (another C++ 3D engine):
// Harrison McGuire// UE4 Version 4.20.2// https://github.com/Harrison1/unrealcpp// https://severallevels.io// https://harrisonmcguire.com
#pragma once
#include"Camera/CameraShake.h"
#include"MyCameraShake.generated.h"UCLASS()
class UNREALCPP_API UMyCameraShake: public UCameraShake {
GENERATED_BODY()
public:// Sets default values for this actor's propertiesUMyCameraShake();
};
As you can see, the keywords class and public are not highlighted, likely because they follow the macros UCLASS() and API_CLASS(), respectively (newlines make no difference). Oddly, the keywords that follow API_ENUM() seem to be highlighted just fine.
The text was updated successfully, but these errors were encountered:
Consider the following C++ snippets, respectively from an Unreal Engine C++ repo and a Flax Engine C++ repo (another C++ 3D engine):
From: https://github.com/Harrison1/unrealcpp/blob/master/CameraShake/MyCameraShake.h and https://github.com/PrecisionRender/CharacterControllerPro/blob/main/CharacterControllerProCPP/CharacterControllerPro.h.
As you can see, the keywords
class
andpublic
are not highlighted, likely because they follow the macrosUCLASS()
andAPI_CLASS()
, respectively (newlines make no difference). Oddly, the keywords that followAPI_ENUM()
seem to be highlighted just fine.The text was updated successfully, but these errors were encountered: