コード例 #1
0
        public SeekerBlinder()
        {
            StyleSheet.Load("UI/SeekerBlinder.scss");
            coneText = Add.Label("Please wait...", "coneText");

            using (SceneWorld.SetCurrent(new SceneWorld()))
            {
                SceneObject.CreateModel("models/dev/gordon_at_desk.vmdl", Transform.Zero);
                Light.Point(Vector3.Right * 100, 200, Color.White * 2000f);
                coneScene = SceneCapture.Create("coneScene", 512, 512);
            }

            Add.Image("scene:coneScene", "coneScene");
        }