add "Split" for Unpack nodes
This commit is contained in:
@@ -149,7 +149,7 @@ namespace FlaxEditor.Surface.Archetypes
|
||||
TypeID = 7,
|
||||
Title = "Unpack Material Layer",
|
||||
Description = "Unpack material properties",
|
||||
AlternativeTitles = new[] { "Break Material Layers", "Deconstruct Material Layers", "Decompose Material Layers" },
|
||||
AlternativeTitles = new[] { "Break Material Layer", "Deconstruct Material Layer", "Decompose Material Layer", "Split Material Layer" },
|
||||
Flags = NodeFlags.MaterialGraph,
|
||||
Size = new Float2(210, 280),
|
||||
Elements = new[]
|
||||
|
||||
@@ -486,7 +486,7 @@ namespace FlaxEditor.Surface.Archetypes
|
||||
TypeID = 30,
|
||||
Title = "Unpack Float2",
|
||||
Description = "Unpack components from Float2",
|
||||
AlternativeTitles = new[] { "Break Float2", "Deconstruct Float2", "Decompose Float2" },
|
||||
AlternativeTitles = new[] { "Break Float2", "Deconstruct Float2", "Decompose Float2", "Split Float2" },
|
||||
Flags = NodeFlags.AllGraphs,
|
||||
Size = new Float2(150, 40),
|
||||
Elements = new[]
|
||||
@@ -501,7 +501,7 @@ namespace FlaxEditor.Surface.Archetypes
|
||||
TypeID = 31,
|
||||
Title = "Unpack Float3",
|
||||
Description = "Unpack components from Float3",
|
||||
AlternativeTitles = new[] { "Break Float3", "Deconstruct Float3", "Decompose Float3" },
|
||||
AlternativeTitles = new[] { "Break Float3", "Deconstruct Float3", "Decompose Float3", "Split Float3" },
|
||||
Flags = NodeFlags.AllGraphs,
|
||||
Size = new Float2(150, 60),
|
||||
Elements = new[]
|
||||
@@ -517,7 +517,7 @@ namespace FlaxEditor.Surface.Archetypes
|
||||
TypeID = 32,
|
||||
Title = "Unpack Float4",
|
||||
Description = "Unpack components from Float4",
|
||||
AlternativeTitles = new[] { "Break Float4", "Deconstruct Float4", "Decompose Float4" },
|
||||
AlternativeTitles = new[] { "Break Float4", "Deconstruct Float4", "Decompose Float4", "Split Float4" },
|
||||
Flags = NodeFlags.AllGraphs,
|
||||
Size = new Float2(150, 80),
|
||||
Elements = new[]
|
||||
@@ -534,7 +534,7 @@ namespace FlaxEditor.Surface.Archetypes
|
||||
TypeID = 33,
|
||||
Title = "Unpack Rotation",
|
||||
Description = "Unpack components from Rotation",
|
||||
AlternativeTitles = new[] { "Break Rotation", "Deconstruct Rotation", "Decompose Rotation" },
|
||||
AlternativeTitles = new[] { "Break Rotation", "Deconstruct Rotation", "Decompose Rotation", "Split Rotation" },
|
||||
Flags = NodeFlags.AllGraphs,
|
||||
Size = new Float2(170, 60),
|
||||
Elements = new[]
|
||||
@@ -550,7 +550,7 @@ namespace FlaxEditor.Surface.Archetypes
|
||||
TypeID = 34,
|
||||
Title = "Unpack Transform",
|
||||
Description = "Unpack components from Transform",
|
||||
AlternativeTitles = new[] { "Break Transform", "Deconstruct Transform", "Decompose Transform" },
|
||||
AlternativeTitles = new[] { "Break Transform", "Deconstruct Transform", "Decompose Transform", "Split Transform" },
|
||||
Flags = NodeFlags.AllGraphs,
|
||||
Size = new Float2(170, 60),
|
||||
Elements = new[]
|
||||
@@ -566,7 +566,7 @@ namespace FlaxEditor.Surface.Archetypes
|
||||
TypeID = 35,
|
||||
Title = "Unpack Box",
|
||||
Description = "Unpack components from BoundingBox",
|
||||
AlternativeTitles = new[] { "Break BoundingBox", "Deconstruct BoundingBox", "Decompose BoundingBox" },
|
||||
AlternativeTitles = new[] { "Break BoundingBox", "Deconstruct BoundingBox", "Decompose BoundingBox", "Split BoundingBox" },
|
||||
Flags = NodeFlags.AllGraphs,
|
||||
Size = new Float2(170, 40),
|
||||
Elements = new[]
|
||||
@@ -585,7 +585,7 @@ namespace FlaxEditor.Surface.Archetypes
|
||||
IsOutputCompatible = UnpackStructureNode.IsOutputCompatible,
|
||||
GetInputOutputDescription = UnpackStructureNode.GetInputOutputDescription,
|
||||
Description = "Breaks the structure data to allow extracting components from it.",
|
||||
AlternativeTitles = new[] { "Break Structure", "Deconstruct Structure", "Decompose Structure" },
|
||||
AlternativeTitles = new[] { "Break Structure", "Deconstruct Structure", "Decompose Structure", "Split Structure" },
|
||||
Flags = NodeFlags.VisualScriptGraph | NodeFlags.AnimGraph | NodeFlags.NoSpawnViaGUI,
|
||||
Size = new Float2(180, 20),
|
||||
DefaultValues = new object[]
|
||||
|
||||
Reference in New Issue
Block a user