SceneKitSessionWWDC2013.Slide.Slide C# (CSharp) Method

Slide() public method

public Slide ( ) : SceneKit
return SceneKit
		public Slide ()
		{
			ContentNode = SCNNode.Create ();

			GroundNode = SCNNode.Create ();
			ContentNode.AddChildNode (GroundNode);

			TextManager = new SlideTextManager ();
			ContentNode.AddChildNode (TextManager.TextNode);

			// Default parameters
			LightIntensities = new float[] { 1.0f };
			MainLightPosition = new SCNVector3 (0, 3, -13);
			EnableShadows = false;
			FloorImageName = null;
			FloorImageExtension = null;
			FloorReflectivity = 0.25f;
			FloorFalloff = 3.0f;
			TransitionDuration = 1.0f;
			TransitionOffsetX = 0.0f;
			TransitionOffsetZ = 0.0f;
			TransitionRotation = 0.0f;
			Altitude = 5.0f;
			Pitch = 0.0f;
			IsNewIn10_9 = false;
		}