Unreal engine documentation issues

I’ve been reading reading some books on code, and I have one more left on templates and meta programming. I’m having a finding waldo dilemma inside the unreal engine documentation. I’m browsing through the apawn class https://docs.unrealengine.com/latest/INT/API/Runtime/Engine/GameFramework/APawn/index.html And I see that Fvector is class for returns is used inside. The thing Is I don’t see where Aactor inherits from Fvector and when I check the other inheritance https://docs.unrealengine.com/latest/INT/API/Runtime/Engine/AI/Navigation/INavAgentInterface/index.html It turns up a empty page. I’m trying to see how this is all linked together. MY thought is it’s somewhere in this file #include “GameFramework/Actor.h” But I dont know where to find that either

Because it doesn’t. FVector is a seperate class defined elsewhere. Take the following for example

struct Point
{
    int x;
    int y;
    int z;
};

struct Foo
{
    Foo(int a, int b, int c) 
    {
	p.x = a;
	p.y = b;
	p.z = c;
    }
    Point getPoint() { return p; }
    Point p;
};

int main()
{
    Foo foo(1, 1, 1);
    Point point = foo.getPoint();
    return 0;
}

There’s no inheritence going on there, just one struct using another

Yes I just seen recently. Today actually thanks!!.

Privacy & Terms