예제 #1
0
        /// <summary/>
        public SceneTestObjects(Variation v)
            : base(v)
        {
            visual3Ds        = FactoryParser.MakeScene(v);
            camera           = FactoryParser.MakeCamera(v);
            camera.Transform = TransformFactory.MakeTransform(v["CameraTransform"]);

            ObjectUtils.NameObjects(visual3Ds);
        }
예제 #2
0
 /// <summary/>
 public UnitTestObjects(Variation v)
     : base(v)
 {
     model       = FactoryParser.MakeModel(v);
     camera      = FactoryParser.MakeCamera(v);
     light       = FactoryParser.MakeLight(v);
     transform   = FactoryParser.MakeTransform3D(v);
     modelVisual = CreateModelVisual(v);
 }