make particle age/ lifetime nodes more clear

This commit is contained in:
Saas
2025-09-19 16:32:59 +02:00
parent afdd264e63
commit fb5cedc575

View File

@@ -436,10 +436,11 @@ namespace FlaxEditor.Surface.Archetypes
new NodeArchetype
{
TypeID = 102,
Title = "Particle Lifetime",
Description = "Particle lifetime (in seconds).",
Title = "Total Lifetime",
Description = "Total particle lifetime (in seconds), assigned when the particle is created. Always the same, no matter the particles age.",
AlternativeTitles = new[] { "Age" },
Flags = NodeFlags.MaterialGraph | NodeFlags.ParticleEmitterGraph,
Size = new Float2(200, 30),
Size = new Float2(180, 30),
Elements = new[]
{
NodeElementArchetype.Factory.Output(0, string.Empty, typeof(float), 0),
@@ -449,9 +450,10 @@ namespace FlaxEditor.Surface.Archetypes
{
TypeID = 103,
Title = "Particle Age",
Description = "Particle age (in seconds).",
Description = "Particle age (in seconds). How long the particle has been alive since it was created.",
AlternativeTitles = new[] { "Lifetime" },
Flags = NodeFlags.MaterialGraph | NodeFlags.ParticleEmitterGraph,
Size = new Float2(200, 30),
Size = new Float2(170, 30),
Elements = new[]
{
NodeElementArchetype.Factory.Output(0, string.Empty, typeof(float), 0),
@@ -533,9 +535,10 @@ namespace FlaxEditor.Surface.Archetypes
{
TypeID = 110,
Title = "Particle Normalized Age",
Description = "Particle normalized age to range 0-1 (age divided by lifetime).",
Description = "Particle normalized age represented as from 0 (max lifetime) - 1 (max age) (age divided by lifetime).",
AlternativeTitles = new[] { "Lifetime" },
Flags = NodeFlags.MaterialGraph | NodeFlags.ParticleEmitterGraph,
Size = new Float2(230, 30),
Size = new Float2(250, 30),
Elements = new[]
{
NodeElementArchetype.Factory.Output(0, string.Empty, typeof(float), 0),