How to Get Class Defaults in C++?

You need to Get the Default Object for that class, it returns an Object you can cast to a specific class, then retrieve values from it, they’ll all be the defaults.

AMyActor* DefaultActor = Cast<AMyActor>(AMyActor::StaticClass()->GetDefaultObject(true));

DefaultActor->SomeVariable;