.. SetUpEgo

.. default - domain::js

.. include:: /includes/standard.rst

==================
SetUpEgo (Main.sc)
==================


.. function:: SetUpEgo([theView theLoop])

	Used to set up the ego, generally in a room's init() method.
	
	:param number theView: The view to use, or -1 to use gDefaultEgoView.
	:param number theLoop: The loop to use.


