Axiom.Demos.TechDemo.CreateViewports C# (CSharp) Méthode

CreateViewports() public méthode

public CreateViewports ( ) : void
Résultat void
		public virtual void CreateViewports()
		{
			Debug.Assert( window != null, "Attempting to use a null RenderWindow." );

			// create a new viewport and set it's background color
			viewport = window.AddViewport( camera, 0, 0, 1.0f, 1.0f, 100 );
			viewport.BackgroundColor = ColorEx.Black;
		}