Can you teach me how to fish so that I can't eat

That is the correct function, the very same one.

RootComponent() just returns a Scene Component, so it acts as the first parameter. If you look at the function in code, the rest of the parameters have default values, so you don’t have to put something in there for each entry.

As usual, I recommend getting a copy of Visual Assist X. It’s faster than intellisense and offers a few extra features, you can ‘Peek’ functions which will almost instantly show you where in Engine code that function has been declared, and what default parameters it has. It also tells you what default parameters it has as you type.