Axiom.Core.Root.NextMovableObjectTypeFlag C# (CSharp) Méthode

NextMovableObjectTypeFlag() public méthode

Allocate and retrieve the next MovableObject type flag.
This is done automatically if MovableObjectFactory.RequestTypeFlags returns true; don't call this manually unless you're sure you need to.
public NextMovableObjectTypeFlag ( ) : uint
Résultat uint
		public uint NextMovableObjectTypeFlag()
		{
			if ( this.nextMovableObjectTypeFlag == (uint)SceneQueryTypeMask.UserLimit )
			{
				throw new AxiomException(
						"Cannot allocate a type flag since all the available flags have been used." );
			}

			uint ret = this.nextMovableObjectTypeFlag;
			this.nextMovableObjectTypeFlag <<= 1;
			return ret;
		}