コード例 #1
0
        protected override void Update()
        {
            var surface = ObjectOfPreview as Component_Surface;

            var scene = CreateScene(false);

            Component_SurfaceUtility.CreatePreviewObjects(scene, surface);
            scene.Enabled = true;

            SetCameraByBounds(Scene.CalculateTotalBoundsOfObjectsInSpace(), 1.6);
        }
コード例 #2
0
 void CreateObjects(Component_Scene scene)
 {
     Component_SurfaceUtility.CreatePreviewObjects(scene, Surface);
     lastUpdateTime = Time.Current;
 }