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

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

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

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