My Perceptions

So, what did I recognize? Surprisingly more than I thought I would.
in PositionReporter.h –
3 include statements that I don’t see files for (I’m thinking these are likely UE generated files)

  • CoreMinimal.h
  • Components/ActorComponent.h
  • PositionReporter.generated.h

With a little research into how the text was being formatted I was able to Identify three macros (not sure what a macro is in terms of programing…)

  • UClass
  • Building_Escape_API
  • Generated_Body

I also recognised the constructor, UPositionReporter() , and two virtual functions –

  • BeginPlay() which contains the qualifier ‘override’ (I’ll be looking that up later)
  • TickComponent() which takes in a pointer as one of its variables.

in PositionReporter.cpp –

  • The definition of BeginPlay() and TickComponent()
  • that BeginPlay() sets a Boolean called CanEverTick to true meaning that it puts a check-mark in a box somewhere in the editor

What I’ll be researching later:

  • Macros
  • Protected Variables
  • ‘Super’ Class

Privacy & Terms