static [TSharedPtr](API\Runtime\Core\Templates\TSharedPtr)< [FActorTransactionAnnotation](API\Runtime\Engine\FActorTransactionAnnotation) > CreateIfRequired ( const [AActor](API\Runtime\Engine\GameFramework\AActor) * InActor, const bool InCacheRootComponentData )