// --------------------------------------------------------------------

        public static void New()
        {
            mActiveSceneAsset = null;
            mActiveScene      = new Scene();

            EditorSceneObjectUtils.AddReflectionProbe(false);
            EditorSceneObjectUtils.AddPrimitive(BuiltInMesh.Quad, "Quad");

            OnSceneChanged?.Invoke(mActiveScene);
        }
Example #2
0
 private void toolStripCreateQuad_Click(object sender, EventArgs e)
 {
     EditorSceneObjectUtils.AddPrimitive(BuiltInMesh.Quad, "Quad");
 }
Example #3
0
 private void toolStripCreateSphere_Click(object sender, EventArgs e)
 {
     EditorSceneObjectUtils.AddPrimitive(BuiltInMesh.Sphere, "Sphere");
 }
Example #4
0
 private void toolStripCreateTeapot_Click(object sender, EventArgs e)
 {
     EditorSceneObjectUtils.AddPrimitive(BuiltInMesh.Teapot, "Teapot");
 }
Example #5
0
 private void toolStripCreateCylinder_Click(object sender, EventArgs e)
 {
     EditorSceneObjectUtils.AddPrimitive(BuiltInMesh.Cylinder, "Cylinder");
 }