The value returned by the 'AC_VHost_Embed' function is the Scene reference.
The male character on the left has its Scene reference assigned to variable 'a'.
The female character on the right has its Scene reference assigned to variable 'b'.
The variables 'a' or 'b' are passed to the 'selectPortal' function.
The 'selectPortal' call determines which Scene is the active target of subsequent API calls.