/// <summary> /// 新規作成 /// </summary> public static void New() { if (OnBeforeNew != null) { OnBeforeNew(null, null); } StartFrame = 0; EndFrame = 120; IsLoop = true; SelectedNode = null; Command.CommandManager.Clear(); Root = new Data.NodeRoot(); // 初期ノードの追加 Root.AddChild(); Command.CommandManager.Clear(); FullPath = string.Empty; IsChanged = false; if (OnAfterNew != null) { OnAfterNew(null, null); } }
/// <summary> /// New /// </summary> public static void New() { if (OnBeforeNew != null) { OnBeforeNew(null, null); } StartFrame = 0; EndFrame = 120; IsLoop = true; SelectedNode = null; Command.CommandManager.Clear(); Root = new Data.NodeRoot(); effectBehavior = new Data.EffectBehaviorValues(); culling = new Data.EffectCullingValues(); globalValues = new Data.GlobalValues(); // Add a root node Root.AddChild(); Command.CommandManager.Clear(); FullPath = string.Empty; IsChanged = false; if (OnAfterNew != null) { OnAfterNew(null, null); } }
/// <summary> /// New /// </summary> public static void New() { if (OnBeforeNew != null) { OnBeforeNew(null, null); } StartFrame = 0; EndFrame = 120; IsLoop = true; SelectedNode = null; Command.CommandManager.Clear(); Root = new Data.NodeRoot(); // Adhoc code effectBehavior.Reset(); culling = new Data.EffectCullingValues(); globalValues = new Data.GlobalValues(); if (recording.RecordingStorageTarget.Value == Data.RecordingStorageTargetTyoe.Local) { recording = new Data.RecordingValues(); } dynamic_ = new Data.DynamicValues(); // Add a root node Root.AddChild(); Command.CommandManager.Clear(); FullPath = string.Empty; IsChanged = false; // Select child //SelectedNode = Root.Children[0]; if (OnAfterNew != null) { OnAfterNew(null, null); } }