SetUpEgo (Main.sc)

SetUpEgo([theView theLoop])

Used to set up the ego, generally in a room’s init() method.

Parameters:
  • theView (number) – The view to use, or -1 to use gDefaultEgoView.
  • theLoop (number) – The loop to use.