Example #1
0
		/// <summary>
		/// Overridden.  Creats a scene graph with a <see cref="PCacheCamera">PCacheCamera</see>
		/// as the main camera.
		/// </summary>
		protected override PCamera CreateBasicScenegraph() {
			PRoot r = new PRoot();
			PLayer l = new PLayer();
			PCamera c = new PCacheCamera();

			r.AddChild(c); 
			r.AddChild(l); 
			c.AddLayer(l);
		
			return c;
		}
Example #2
0
			public FastTransformActivity(PCacheCamera target, long duration, long stepInterval, Target aTarget, PMatrix aDestination) :
				base(duration, stepInterval, 1, ActivityMode.SourceToDestination, aTarget, aDestination) {
				this.target = target;
			}
Example #3
0
 public FastTransformActivity(PCacheCamera target, long duration, long stepInterval, Target aTarget, PMatrix aDestination) :
     base(duration, stepInterval, 1, ActivityMode.SourceToDestination, aTarget, aDestination)
 {
     this.target = target;
 }