Example #1
0
		public Slide ()
		{
			ContentNode = SCNNode.Create ();

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

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

			// Default parameters
			LightIntensities = new float[] { 0.0f, 0.9f, 0.7f };
			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_10 = false;
		}
Example #2
0
        public Slide()
        {
            ContentNode = SCNNode.Create();

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

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

            // Default parameters
            LightIntensities    = new float[] { 0.0f, 0.9f, 0.7f };
            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_10 = false;
        }