Axiom.SceneManagers.PortalConnected.Portal.getName C# (CSharp) Method

getName() public method

public getName ( ) : string
return string
		public string getName()
		{
			return mName;
		}

Usage Example

Esempio n. 1
0
        /** Indicates whether or not this zone requires zone-specific data for
         *  each scene node
         */

        /* Add a portal to the zone
         */

        public override void AddPortal(Portal newPortal)
        {
            if (null != newPortal)
            {
                // make sure portal is unique (at least in this zone)
                if (mPortals.Contains(newPortal))
                {
                    throw new AxiomException("A portal with the name " + newPortal.getName() +
                                             "already exists. DefaultZone._addPortal");
                }

                // add portal to portals list
                mPortals.Add(newPortal);

                // tell the portal which zone it's currently in
                newPortal.setCurrentHomeZone(this);
            }
        }
All Usage Examples Of Axiom.SceneManagers.PortalConnected.Portal::getName