# Type Name Prefix Convention

**URL:** <https://forums.unrealengine.com/t/type-name-prefix-convention/199>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [March 20, 2014, 2:58pm UTC](https://forums.unrealengine.com/t/type-name-prefix-convention/199 "2014-03-20T14:58:19Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_4de0c7d21](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_4de0c7d21](https://forums.unrealengine.com/u/anonymous_user_4de0c7d21)\
**Post date:** [March 20, 2014, 2:58pm UTC](https://forums.unrealengine.com/t/type-name-prefix-convention/199/1 "2014-03-20T14:58:19Z")

</div>

I’m curious about the type name prefix convention. Here’s what it looks like to me:  
E - Enums  
T - Templates  
U - UObjectBase and subclasses (except for AActor and subclasses)  
A - AActor and subclasses  
F - ?

What the heck does F stand for?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_4de0c7d21](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_4de0c7d21](https://forums.unrealengine.com/u/anonymous_user_4de0c7d21)\
**Post date:** [March 20, 2014, 3:47pm UTC](https://forums.unrealengine.com/t/type-name-prefix-convention/199/3 "2014-03-20T15:47:17Z")

</div>

Ah, got it. Thanks. I figured it was nothing more than the “other” category. At first I thought it was for floats, but then I saw FIntVector.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fb2d0bf6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fb2d0bf6](https://forums.unrealengine.com/u/anonymous_user_fb2d0bf6)\
**Post date:** [March 22, 2014, 10:55am UTC](https://forums.unrealengine.com/t/type-name-prefix-convention/199/4 "2014-03-22T10:55:16Z")

</div>

There is also I, used for Interfaces.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0dc1700e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0dc1700e](https://forums.unrealengine.com/u/anonymous_user_0dc1700e)\
**Post date:** [March 22, 2014, 11:22am UTC](https://forums.unrealengine.com/t/type-name-prefix-convention/199/5 "2014-03-22T11:22:05Z")

</div>

Assuming all this is true, you could intemperate F to be “data structure”, that is, just a grouping of related objects/data/flags/references.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e0b29deb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e0b29deb](https://forums.unrealengine.com/u/anonymous_user_e0b29deb)\
**Post date:** [March 22, 2014, 12:39pm UTC](https://forums.unrealengine.com/t/type-name-prefix-convention/199/6 "2014-03-22T12:39:11Z")

</div>

I think F is used for various things…  
And then there’s G which seems to stand for Global.

---

<div class="post-metadata">

**Author:** ![viktor.mascaro1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@viktor.mascaro1](https://forums.unrealengine.com/u/viktor.mascaro1)\
**Post date:** [June 2, 2023, 1:01am UTC](https://forums.unrealengine.com/t/type-name-prefix-convention/199/8 "2023-06-02T01:01:02Z")

</div>

it actually stands for Float, and it is legacy from previous versions when it was necessary to differentiate float from integer variables by using these prefixes

---

<div class="post-metadata">

**Author:** ![nephier](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nephier](https://forums.unrealengine.com/u/nephier)\
**Post date:** [June 2, 2023, 1:37am UTC](https://forums.unrealengine.com/t/type-name-prefix-convention/199/9 "2023-06-02T01:37:03Z")

</div>

[Mike Fricker](https://forums.unrealengine.com/t/unreal-trivia-what-does-the-f-prefix-on-classes-and-structs-stand-for/21894) (Lead Technical Director) explained the origins of “F” Prefix:

_“The ‘F’ prefix actually stands for “Float” (as in Floating Point.)_“

_“Tim Sweeney wrote the original “FVector” class along with many of the original math classes, and the ‘F’ prefix was useful to distinguish from math constructs that would support either integers or doubles, even before such classes were written. Much of the engine code dealt with floating-point values, so the pattern spread quickly to other new engine classes at the time, then eventually became standard everywhere.”_

\*“This was in the mid-nineties sometime. Even though most of Unreal Engine has been rewritten a few times over since then, some of the original math classes still resemble their Unreal 1 counterparts, and certain idioms remain part of Epic’s coding standard today.”  
Source:

> **[Unreal Engine C++ Complete Guide](https://www.tomlooman.com/unreal-engine-cpp-guide/#:~:text=Mike%20Fricker%20)**
>
> Get started with Unreal Engine C++ using the complete guide to programming. Unreal Engine has many unique features, let's demystify them.
