Add Particle Radius to in-built particle attributes
This commit is contained in:
@@ -286,6 +286,12 @@ void ParticleEmitterGraphCPUExecutor::ProcessGroupParticles(Box* box, Node* node
|
||||
const float lifetime = GET_PARTICLE_ATTRIBUTE(1, float);
|
||||
value = age / Math::Max(lifetime, ZeroTolerance);
|
||||
break;
|
||||
}
|
||||
// Particle Radius
|
||||
case 111:
|
||||
{
|
||||
value = GET_PARTICLE_ATTRIBUTE(0, float);
|
||||
break;
|
||||
}
|
||||
// Effect Position
|
||||
case 200:
|
||||
|
||||
Reference in New Issue
Block a user